Commit graph

743 commits

Author SHA1 Message Date
mb863
8c03f249d1 NIHVIVO-1315: Refactoring generic individual pages 2011-01-24 03:08:30 +00:00
cdtank
c920c84699 1. Refactored some visualziation helper functions spread across different files into one javascript file.
2. Fixed the bug NIHVIVO-1595. Now for https: sites the sparkline visualizations are rendered by generating a chart image url instead of going throught the google visualization API. This image is directly placed in the container. For http sites it follows the old procedure.
2011-01-22 01:14:42 +00:00
rjy7
04d5d32568 NIHVIVO-1863 Fix collated view of core:personInPosition and core:hasResearchArea 2011-01-21 21:54:17 +00:00
rjy7
dc36eb1a36 NIHVIVO-1839 Modify parameters on editingLinks macro so can pass in hard-coded value for rdfs:label 2011-01-21 17:57:56 +00:00
rjy7
53ad28c770 Changes to individual templates and associated queries 2011-01-21 17:39:03 +00:00
mb863
2c7d396b59 NIHVIVO-1316: Added Research Areas label, remove pictos fonts, added uri link, added new admin panel, and changed markup for visualitation. 2011-01-21 03:24:14 +00:00
mb863
e758396216 NIHVIVO-1315: Refactoring individual.ftl. This was duplicated in VIVO and VITRO. 2011-01-21 03:20:31 +00:00
cdtank
c5709c2c74 1. Fix for the bug NIHVIVO-1775 essentially not displaying collaboratorship links (co-authorship or co-piship) if there are no publications (or grants) for that individual. The affected pages are foaf:Person profile page, co-authorship & co-piship pages for a foaf:Person. 2011-01-20 22:49:56 +00:00
cdtank
1a36693cb1 1. Fixed the bug NIHVIVO-1803.
2. Changed the code/style that shows/hides collaborator links (co-pi & co-author n/ws) for a person, so that the code that will check if any publications/grants are attached to a person can manipulate visibility of these links.
2011-01-20 16:55:55 +00:00
jeb228
270b9ef984 Use correct capitalization in the call to add "getURLParam.js" 2011-01-20 15:51:07 +00:00
cdtank
fa2f4be087 1. Fixed a design bug for IE where the y-axis legen did not get the padding-top.
2. Reflected the changes for publication version of temporal-graphs into grants version.
2011-01-20 00:18:51 +00:00
cdtank
6af3fee6b1 1. Changed layout per Katy's suggestion for Temporal Graph Vis.
2. Refactored javascript code for Temporal graph vis.
3. Fixed couple of bugs including the one in which an entity had only one publication the line graph showed weird behavior.
4. Modified the behavior of the temporal linear graph to always try to display last 10 years at least on the line graph.
2011-01-19 23:47:52 +00:00
bkoniden
239b6d40d7 NIVIVO - 1732 For temporal graph vis if an organization does not have any publications then there is no option to switch to "by Grants" mode 2011-01-19 21:45:43 +00:00
cdtank
f6429af187 1. Made changes so that publication related visualization queries respect the 1.2 ontology's date proeprties & also pre-1.2 onotology data. It first attempts to get date using new property, failing which it sees if date is present in old property & proceeds accordingly.
2. Refactored code for temporal graph vis. Fixed couple of bugs in it.
2011-01-19 20:23:22 +00:00
rjy7
500ab0eb0d NIHVIVO-1704 Enable jump links after returning to individual profile after submitting an editing form. Pass property all the way down the property display macro chain, so any macro has access to property attributes like name, localname, and uri. Provide PropertyTemplateModel.getLocalName() and PropertyTemplateModel.getUri() for this purpose. 2011-01-18 21:46:15 +00:00
rjy7
9d20a13c18 NIHVIVO-1730 Fix error in template variable reference 2011-01-18 21:31:07 +00:00
rjy7
74ba0be165 NIHVIVO-1665 Handle datetime intervals with incomplete data 2011-01-18 04:42:21 +00:00
rjy7
a9d5241b3a NIHVIVO-1737 Fix missing space in educational training display. 2011-01-18 03:12:05 +00:00
rjy7
2fbc6c22ca NIHVIVO-1665 Fix query for core:dateTimeInterval to allow for incomplete data 2011-01-18 02:16:14 +00:00
rjy7
31cb81dec6 NIHVIVO-1665 Handle display core:DateTimeValue with core:dateTime data prop but no precision, and with neither precision nor dateTime data prop. DateTimeValues as part of DateTimeIntervals not handled yet. 2011-01-18 00:25:43 +00:00
mb863
378584adcd NIHVIVO-1764: Worked on styling individual display and individual editing display. 2011-01-17 21:55:16 +00:00
nac26
76e3160abf NIHVIVO-1760 Updated logic for data checking templates. Will only suggest logging in if no authenticated session exists. 2011-01-17 02:29:23 +00:00
nac26
f53298509c NIHVIVO-1073 Added check for no data. Primarily used for initial state after new installation. 2011-01-16 22:43:43 +00:00
rjy7
524d75af97 Merge r2191-2192 from trunk 2011-01-15 22:24:16 +00:00
rjy7
dd0cb09dd3 Merge r2193 from trunk 2011-01-15 05:02:07 +00:00
cdtank
a952289ed7 1. Changed styling a bit for error messages on temporal graph vis. 2011-01-14 21:56:15 +00:00
cdtank
609e5fd763 1. Removed generic styles so that vivo-sitewide styles are not overridden
2. Changed manual script includes to let template it do for us.
3. Changed default 10 colors for temporal graph line bars.
2011-01-14 21:39:11 +00:00
rjy7
2672057996 NIHVIVO-1713 Suppress display of vitro:Keyword property on individual page. Wasn't working on old individual page; back end editing for this property is buggy; and the property itself will be removed in 1.3. 2011-01-14 21:33:40 +00:00
rjy7
aa88e1f249 NIHVIVO-1332 Moved getImageUploadUrl from UrlBuilder to ObjectPropertyTemplateModel. Temporarily removed hard-coded co-author display from foaf:Person page. 2011-01-14 19:34:19 +00:00
bkoniden
2a48f7e864 commented out console.log statements in util.js and attached click event functionality to change event for select.comparisonValues in entityComparison*.ftl 2011-01-14 18:52:21 +00:00
cdtank
a4686f0f77 1. changed the layout & style for temporal graph vis.
2. Added latest version for datatable jquery plugin.
3. Changed pagination GUI for tmeporal graph vis.
2011-01-14 18:14:03 +00:00
bkoniden
51f108547a 1) Created a ftl for displaying Temporal vis Grants.
2) Made changes to util.js to reflect the state (grants or pubs)
2011-01-14 17:56:56 +00:00
rjy7
d9a1f64a9c NIHVIVO-1332 Editing links for individual image 2011-01-14 17:30:07 +00:00
nac26
58b492214e NIHVIVO-1073 NIHVIVO-641 Refactoring default vitro level behavior of menupages (does not assume any classes and is not ontology aware). Introducing the ability to proxy the default behavior defined in browseByVClass.js and define something different in browseByVClassPeople.js with how we render the retrieved individuals. 2011-01-14 15:15:32 +00:00
mb863
560764a6e5 Removed class="". 2011-01-14 00:25:38 +00:00
rjy7
906b3f9863 NIHVIVO-1332 Editing links for vitro link properties. Restore lines that were incorrectly commented out in previous commit. Move ftl for displaying links from an include to a macro, to parameterize the ul class value. 2011-01-13 23:54:28 +00:00
rjy7
345e2e255e NIHVIVO-1688 Create an individual.ftl in vivo that makes references to the vivo ontology; make vitro individual.ftl ontology-neutral. Separate overview into separate template. 2011-01-13 22:25:38 +00:00
cdtank
63a3e318ea 1. Added comment about the new visualization.topLevelOrg property for deploy.proeprties. Added similar content for install.txt.
2. Made front-end improvements to temporal graph vis per Katy's suggestions.
3. Made improvements to person level vis front-end.
2011-01-13 21:30:15 +00:00
rjy7
e9a2cae473 NIHVIVO-1332 Editing links for vitro:primaryLink and vitro:additionalLink properties 2011-01-13 21:11:22 +00:00
bkoniden
af67aa69cb sparklineVO.unknownPublications had been accidentally changed to sparklineVO.unknownPublication on line91 in personPublicationSparklineContent.ftl . So, fixing that. 2011-01-13 20:05:47 +00:00
mb863
ba8ae34d40 NIHVIVO-641: Forgot to delete <@dumpAll /> in template 2011-01-13 18:49:04 +00:00
mb863
7d1fdce28f NIHVIVO-641: Hard-coded urls for Find by section in menupages type people 2011-01-13 18:47:44 +00:00
mb863
57bc645389 NIHVIVO-1496: Removing more pictos fonts and creating more graphic icons substituting the picto fonts. 2011-01-13 17:10:46 +00:00
rjy7
7c1e9a7148 NIHVIVO-1322 Separated IndividualTemplateModel into two classes, one for profile page and one for listing individuals in the context of search, browse, menupages, etc. The needs of the two cases are quite different. 2011-01-13 15:09:29 +00:00
nac26
9f6d3a9f2b NIHVIVO-1071 Updated primary comments for consistency explaining the role of each individual template. 2011-01-13 14:23:28 +00:00
nac26
09686a919d NIHVIVO-1073 Removed researchers section as we won't be able to deliver this for 1.2. See NIHVIVO-1601 for more info. 2011-01-13 14:20:13 +00:00
nac26
c6f0d227a9 Refactored approach for inserting visualization links on menu pages. Still hoping to remove JavaScript altogether based on outcome of NIHVIVO-1681 2011-01-13 14:00:56 +00:00
rjy7
5a8f0ce1f3 NIHVIVO-1332 Editing link for rdfs:label 2011-01-12 23:52:35 +00:00
cdtank
898f305f05 1. Fixed a bug in menupage for organizations. Caused due to undefined variable. 2011-01-12 23:44:11 +00:00
bkoniden
9971e5fa2b Committing the following changes
1) Handling Null pointer Exceptions for EntityPubCount, EntityGrantCount and EntitySubOrganizationTypes
2) Removing the dependency on vis_mode parameter in the server side code. The class the individual belongs to is retrieved using vitroRequest.getWebappDaoFactory().getIndividualDao().getIndividualByURI(IndividualURI).isVClass(ClassURI)
3) On the client side, the vis_mode parameter is set(from the value passed on by the requesthandler) to differentiate between personURL and SubOrganizationTemporalGraphURL on drill down.
4) Added entityComparisonErrorActivator.ftl to handle edge cases (if the resultset of the queries is NULL)
2011-01-12 23:16:30 +00:00