Commit graph

148 commits

Author SHA1 Message Date
rjy7
b323f50c04 NIHVIVO-1563 Add template method models to help directive 2011-02-22 20:05:45 +00:00
rjy7
c4da8ffc07 NIHVIVO-1563 Add template method models to dumpAll directive 2011-02-22 18:06:02 +00:00
rjy7
f246cfe0cc NIHVIVO-1564 Dump of template model objects provides information about methods and their return values 2011-02-21 21:40:43 +00:00
rjy7
fe3bd563bc Merge r7497 from nihvivo-rel-1.2-maint 2011-02-21 18:13:26 +00:00
rjy7
f184d52737 Merge r7474 from nihvivo-rel-1.2-maint 2011-02-13 20:20:54 +00:00
rjy7
57d3d0df79 Merge r7446 from nihvivo-rel-1.2-maint 2011-02-11 15:17:01 +00:00
rjy7
bb984ccaea Add lib-string.ftl for functions and macros for string manipulation. Add two methods, one for camelcasing and one for uncamelcasing. 2011-02-11 15:12:11 +00:00
nac26
3c205ae3e5 NIHVIVO-2109 Updated title attribute to stay generic and not reference any particular class ("individuals" instead of "people") 2011-02-10 22:02:14 +00:00
rjy7
a05a001704 NIHVIVO-2051 Fix currentPage value sent to template: make home page value consistent regardless of the requested url, and change from servletPath to requestURI so we get full path value below the context path. Also add urls.currentPage to replace ${urls.base}/${currentPage} in templates. This value is similarly normalized for the home page. 2011-02-08 16:50:19 +00:00
nac26
2874d610c1 NIHVIVO-1995 Removed individual count from classes for home page browse in non JavaScript version for consistency 2011-02-08 13:09:01 +00:00
rjy7
e028e17010 Added template model methods to get first value of data properties and first statement of data props and uncollated object props. Improved efficiency of moniker/preferred title code in person template. Added order by statement to default list view queries so order is not random. 2011-02-07 15:52:51 +00:00
nac26
20ab4cc157 NIHVIVO-1965 Better message for authenticated users with access to the site admin when accessing the site with little or no content. Also refactored BrowseController so that it doesn't attempt to override template and provide it's own message if no content is found. 2011-02-05 17:24:40 +00:00
rjy7
40264e0c0b NIHVIVO-2042 Show heading "Primary Web Page" on vitro:primaryLink only if editing 2011-02-04 19:21:29 +00:00
nac26
7a0a2655ed NIHVIVO-1997 Removed pie charts and class group browse from menu pages due to current limitations of individual counts for classes. This should all be brought back from the dead in the future once we implement counts based on most specific type. 2011-02-03 03:06:02 +00:00
rjy7
e954cccca3 Fix vitroLinks display so if there are no links, property heading doesn't display twice. 2011-02-02 16:48:33 +00:00
nac26
0db60ac7d8 NIHVIVO-1995 Removed individual counts from classes and added logic that attempts to identify super class 2011-02-02 16:10:58 +00:00
nac26
72fe7b1a42 NIHVIVO-1910 Updated title attribute for add link next to property heading to use property name 2011-02-01 21:38:48 +00:00
rjy7
8c1020bf31 NIHVIVO-1717 Suppress add link on vitro:primaryLink if there's already a primary link for the individual 2011-02-01 21:27:06 +00:00
nac26
c018e84ecc NIHVIVO-1883 - Added test to collatedObjectPropertyListing macro so that statements that are not in a subclass will be listed in the to level <ul>, instead of being nested 2011-01-31 23:56:48 +00:00
rjy7
4dcad0134a Fix comments 2011-01-31 20:52:12 +00:00
rjy7
f8cb61a833 Another comment update 2011-01-31 20:19:04 +00:00
rjy7
5c0342d8ce Fix comments 2011-01-31 20:17:30 +00:00
rjy7
ede95e2fcb Cleanup of sparkline visualization template and hasStatements function 2011-01-31 20:01:37 +00:00
nac26
285400f3df NIHVIVO-1959 Added default value for property parameter in hasStatement(). Tried to put the onus of determining whether a property is available in the function. Work in progress. 2011-01-31 16:51:10 +00:00
nac26
86d3f8ff3d NIHVIVO-1959 Added hasStatements() function for use by individual templates and especially visualization team to test and decide whether data is present to proceed with visualizations. Should eliminate initial ajax requests and the need for vivo specific code in vitro core. Work in progress. 2011-01-31 15:35:24 +00:00
nac26
e5b0ed9b29 NIHVIVO-1948 Missed committing this with r7241. Adds essential scrollTo jquery plugin 2011-01-31 15:23:11 +00:00
nac26
bb8617ba4a NIHVIVO-1883 For collated object properties, don't print the <h3> if we have no heading to render (individuals that are not asserted as any sub class) 2011-01-31 05:27:19 +00:00
rjy7
ac74c1041a Changed name of image property display macro (was erroneously named "imageLinks") 2011-01-28 20:23:36 +00:00
nac26
dd839ebd18 NIHVIVO-1073 Menu page refactoring. Removed temporary placeholder files and introduced pie charts on menu pages. UI team will compare with bar graphs on home page and determine whether we'll stick with one type over the other or throw them both into the mix. 2011-01-28 18:25:21 +00:00
nac26
81813bcb83 NIHVIVO-592 Improvements to class group browse and bar graphs on home page. 2011-01-28 18:21:17 +00:00
rjy7
c01dc9bf65 Fixed template error on person page when positions or research areas are null 2011-01-27 21:09:23 +00:00
rjy7
43e18bf8af Moved display of personInPosition and hasResearchArea properties to a macro. Adjusted css selectors accordingly to align with auto-generated ids. 2011-01-27 16:07:51 +00:00
mb863
92764b0c1a NIHVIVO-1315, NIHVIVO1316: Re-factored the markup and styles for individual pages. Also I have introduced an image placeholder for non person individuals. 2011-01-26 22:12:51 +00:00
nac26
b321fc38c9 Removed individual-sparklineVisualization.ftl. It's a vestigial file leftover from simpler times when individual--foaf-person.ftl was posing as individual.ftl in vitro 2011-01-26 16:27:05 +00:00
nac26
abb2228b9b NIHVIVO-1073 Fairly significant refactoring of markup and styles for menu pages. Got rid of duplication between the default template and template for people class group. 2011-01-26 14:26:32 +00:00
rjy7
2fb9547738 NIHVIVO-1871 Added repair mode to grant and educational training custom forms. 2011-01-25 22:41:15 +00:00
rjy7
f243f48b3b NIHVIVO-1895 Show placeholder image for non-person individual when displaying an add link for an image 2011-01-25 17:32:45 +00:00
mb863
e8c1c83aad Refactored editing links for individual photo in individual pages 2011-01-24 19:28:44 +00:00
nac26
2be51ef25c NIHVIVO-592 Class group browse for home page. Still waiting on update to JSONServlet (NIHVIVO-1674) so classes in class group can be returned for AJAX requests. Introducing alternative bar graph in lieu of pie chart. 2011-01-24 18:24:24 +00:00
mb863
a7264bc840 NIHVIVO-1878: back to tops links point to top of the page instead of property groups menu. 2011-01-24 15:21:13 +00:00
mb863
593deed634 NIHVIVO-1315: Refactoring generic individual pages 2011-01-24 03:08:00 +00:00
rjy7
3fd87d1050 NIHVIVO-1873 Fixed defaults on macro parameters 2011-01-22 04:54:52 +00:00
rjy7
1b2f34eadc NIHVIVO-1863 Fix collated view of core:personInPosition and core:hasResearchArea 2011-01-21 21:54:15 +00:00
rjy7
643d0063aa NIHVIVO-1839 Modify parameters on editingLinks macro so can pass in hard-coded value for rdfs:label 2011-01-21 17:57:55 +00:00
rjy7
ac624c0bc3 Changes to individual templates and associated queries 2011-01-21 17:49:16 +00:00
mb863
781f3d042f NIHVIVO-1315: Refactoring individual.ftl. This was duplicated in VIVO and VITRO. 2011-01-21 03:20:01 +00:00
mb863
f96fbfa3f8 NIHVIVO-1643: Styled admin panel. 2011-01-21 03:12:59 +00:00
rjy7
31ea87ae58 Check that vClassGroup is non-null to prevent errors on the page 2011-01-19 19:06:13 +00:00
rjy7
ce76206f7c 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:21:14 +00:00
mb863
6eea3ec3a1 NIHVIVO-1494: Styled non-javascript browse version and removed raphael js files. 2011-01-18 15:29:59 +00:00