Commit graph

377 commits

Author SHA1 Message Date
rjy7
401960e5d4 NIHVIVO-1384 Finish conversion of scripts.add() calls. 2011-03-08 16:21:44 +00:00
rjy7
8b89cad590 NIHVIVO-1384 Change script and stylesheet template objects to take the entire tag as a parameter, rather than just the src/href attribute. 2011-03-08 15:44:05 +00:00
rjy7
13ff7686ef NIHVIVO-1554 Remove vitro theme jsps and other unused vitro jsps. Fix vitro web.xml so the application can run. 2011-03-04 21:52:51 +00:00
rjy7
c5b06b5379 NIHVIVO-1521 Ajax controllers now extend VitroAjaxController rather than FreemarkerHttpServlet. 2011-03-03 21:03:37 +00:00
rjy7
f0fe94bdd0 NIHVIVO-1957 Pass placeholder image from template to ImageUploadController 2011-03-03 17:56:40 +00:00
rjy7
dfd9da14b8 NIHVIVO-1392 Fix a bug in the verbose property display whereby session value was reset every time the main site admin page loaded. Normalize the object property display tier value to int. 2011-02-24 22:54:48 +00:00
rjy7
faac29e6ba NIHVIVO-1392 Verbose property display 2011-02-24 22:15:34 +00:00
rjy7
199190fb05 NIHVIVO-1564 Implement recursion in template model dump 2011-02-23 21:08:20 +00:00
rjy7
cdaaf369f0 NIHVIVO-1564 Handle one level of nesting of template model objects in variable dump 2011-02-23 20:52:45 +00:00
rjy7
e03f35a81c NIHVIVO-1564 Improvements to dump of template model objects 2011-02-23 16:05:41 +00:00
rjy7
af7d959ecd NIHVIVO-1564 In dump of template model objects, hide methods that take arguments unless the BeansWrapper exposure level exposes these methods to the template. 2011-02-22 23:09:01 +00:00
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