Commit graph

366 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
713b23ed5e Merge r7492 from nihvivo-rel-1.2-maint 2011-02-15 21:02:36 +00:00
rjy7
067a968a57 Merge r7489 from nihvivo-rel-1.2. 2011-02-15 20:32:13 +00:00
rjy7
f184d52737 Merge r7474 from nihvivo-rel-1.2-maint 2011-02-13 20:20:54 +00:00
rjy7
effce5b9db NIHVIVO-1992 Added current datetime value to page template map 2011-02-11 17:48:36 +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
mb863
dbb222f655 Changed h3 headers to h2 in menupages, so they are consistent with h2 in home page. 2011-02-09 20:13:14 +00:00
ass92
e680ece85e NIHVIVO-2058 code change to show sdb setup success or failure. 2011-02-09 17:14:05 +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
e56e4d89b4 NIHVIVO-2048 removed menupage--classgroup-organizations.ftl and any accommodations made for it 2011-02-05 17:44:10 +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
b931f50cef NIHVIVO-2045 Hide incomplete/malformed links from individualList template, to make things easier (it doesn't have to check the wellformedness of each link before knowing whether to print the ul around the links). 2011-02-04 22:33:45 +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
rjy7
df9b1cb99d Don't show moniker span if there's no moniker 2011-02-04 16:21:09 +00:00
mb863
c748a924dc NIHVIVO-2032: Adjusted padding on headings for index page. 2011-02-04 14:50:49 +00:00
nac26
f391d095b0 A couple text changes for consistency on menu management and also trimmed whitespace from text area 2011-02-04 05:00:18 +00:00
mb863
f5cd351d6e NIHVIVO-2023: Added functionality to cancel button in Menu Management page 2011-02-04 02:36:51 +00:00
mb863
241848ad9e Refactored term of use template 2011-02-03 19:53:34 +00:00
mb863
62b48d0296 NIHVIVO-1954: Changed id="submit" for class="submit". 2011-02-03 17:03:08 +00:00
nac26
603c9cee21 NIHVIVO-1997 Reviving temporal graph link. Was accidentally lost in r7298 2011-02-03 15:59:45 +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
mb863
8e9689aff4 NIHVIVO-1953: Removed search.css from wilma. Made search theme agnostics. Added styles. 2011-01-30 17:58:33 +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
bb8e0b5aae Remove unneeded commented-out lines from templates 2011-01-28 14:55:08 +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
ass92
c743ef2253 NIHVIVO-1571 new freemarker template to support rdb to sdb conversion 2011-01-26 21:44:11 +00:00