Commit graph

46 commits

Author SHA1 Message Date
j2blake
2c585755d0 NIHVIVO-3704 Create a Freemarker method called placeholderImageUrl(individualUri). Use that instead of hard-coding the placeholder image URLs in templates, or passing the placeholder image along from one page to the next via the controller. Remove the "extraParams" parameter to several Freemarker macros, since this is the only purpose it was used for. 2012-03-21 17:29:15 +00:00
hjkhjk54
c4091eaa1f Changes for NIHVIVO-3629: removing spaces in the href links and ids for property groups and replacing them with underscores. 2012-02-23 18:15:04 +00:00
hjkhjk54
2282c56aaf updates for data property editing- NIHVIVO-3386 2012-01-27 21:46:33 +00:00
tworrall
b0fc727218 NIHVIVO-2595 adding title attribute to anchor tags 2011-11-30 21:25:07 +00:00
tworrall
b0db754533 changed global variable to local within a macro 2011-10-25 15:04:44 +00:00
tworrall
56b938ca59 changing two global variables back to local variables 2011-10-24 14:15:42 +00:00
tworrall
42cfa1e725 eliminate redundancy in related role property group list view 2011-10-21 20:53:36 +00:00
ryounes
b5b44b73c1 NIHVIVO-2508 Change template properties to methods so not pre-computed. 2011-08-05 22:25:44 +00:00
ryounes
c356b16807 NIHVIVO-2508 Preparation for exposing some template model methods as methods rather than properties. Also condensed code used to generate editing links for menu management. 2011-08-03 14:55:18 +00:00
ryounes
0f820e6c33 NIHVIVO-2729 Order subclass groupings in collated object properties by display rank rather than alphabetically. Introduce SubclassTemplateModel for a more flexible implementation. 2011-07-12 23:08:04 +00:00
ryounes
c5c4ecd394 NIHVIVO-1317 Migrated custom list view from vitro:primaryLink and vitro:additionalLink to core:webpage 2011-07-07 20:34:11 +00:00
ryounes
ceb4ba96e0 NIHVIVO-2449 Remove vitro:moniker from individual profile, and display preferredTitle instead, falling back to mostSpecificTypes. 2011-07-06 17:09:51 +00:00
ryounes
0347b682c7 NIHVIVO-2449 Display preferred title on individuallist page 2011-07-05 23:03:47 +00:00
ryounes
686d994b32 2011-04-22 21:18:06 +00:00
rjy7
2030220d70 Add template macro to generate a list of hidden input form fields from a map passed from the controller. 2011-03-16 18:25:52 +00:00
rjy7
bc8d979ba5 Add license tag 2011-03-11 22:43:53 +00:00
rjy7
316cb523c3 Improvements to dump methods 2011-03-11 21:26:52 +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
rjy7
fa7aa763fa Put non-breaking spaces around hyphen in datetime interval so line doesn't break in the interval. Trim the interval value returned so leading and trailing whitespace doesn't mess up the display. 2011-02-09 15:00:35 +00:00
rjy7
cbfa225c31 NIHVIVO-1557 improvement to regex in firstLastList macro 2011-02-04 18:49:25 +00:00
rjy7
1851872eb0 NIHVIVO-1557 improvement to regex in firstLastList macro 2011-02-04 18:38:29 +00:00
rjy7
dad29a5516 NIHVIVO-1557 Fix firstLastList macro so it works with li elements that have class or other attributes 2011-02-04 17:53:37 +00:00
nac26
f0a3b8cc79 NIHVIVO-1929 Added test for when startDate = endDate. In this case, display this as a single date instead of an interval. 2011-01-31 05:10:52 +00:00
rjy7
8b6a8fc6c4 NIHVIVO-1665 Handle datetime intervals with incomplete data 2011-01-18 04:42:19 +00:00
rjy7
445a4eff11 NIHVIVO-1665 Fixed error introduced in r7088 in display of standard xsd-formatted datetime values 2011-01-18 01:35:28 +00:00
rjy7
e176d1f39f NIHVIVO-1665 Handle display of core:DateTimeValue with a non-standard core:dateTime data prop value 2011-01-18 00:46:30 +00:00
rjy7
34fdd8b33d 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:42 +00:00
rjy7
50edcb5bbf NIHVIVO-1332 Editing link for rdfs:label 2011-01-12 23:52:33 +00:00
rjy7
ca78b94476 NIHVIVO-1591 Modified some comments and names in ftl datetime lib for clarity 2011-01-10 15:48:52 +00:00
rjy7
ad1a8c4e56 NIHVIVO-1591 Apply datetime functions and macros in lib-datetime.ftl to propStatement views 2011-01-10 03:10:08 +00:00
rjy7
752e50dce0 NIHVIVO-1591 Custom views for core:dateTimeValue, core:dateTimeInterval, core:start, core:end 2011-01-10 02:21:21 +00:00
rjy7
11dd397799 NIHVIVO-1590 dateTimeValue custom list view finished; dateTimeInterval custom list view in progress. 2011-01-08 00:11:24 +00:00
rjy7
28a2be38bc NIHVIVO-1610 Extracted datetime code in propStatement templates into a macro. 2011-01-06 21:19:42 +00:00
rjy7
546b214a86 Comments 2010-12-22 19:14:08 +00:00
rjy7
8c0124819c NIHVIVO-1336 Finished custom list view for core:educationalTraining property 2010-12-20 15:34:58 +00:00
rjy7
92566579f5 2010-12-17 15:37:34 +00:00
rjy7
dd2cdb9991 NIHVIVO-1336 Fixed formatting on join directive 2010-12-16 23:08:47 +00:00
rjy7
be95a1bdd8 NIHVIVO-1336 Educational training short view 2010-12-16 22:53:08 +00:00
rjy7
8a49574f7e NIHVIVO-1304 Rewrote widget framework to support a single template per widget, with multiple macros in each template file. 2010-11-15 02:11:08 +00:00
rjy7
72d43f05a5 NIHVIVO-650 Display image on new (Freemarker) individual profile page. Add <@url /> directive to generate img src value. 2010-09-21 16:05:36 +00:00
rjy7
a79d4067a6 Reimplementing main site admin page in Freemarker: ontology editor panel 2010-08-31 17:12:53 +00:00
rjy7
fa247f1f79 Renamed Freemarker macro files. Implemented data input portion of main site admin page in Freemarker. 2010-08-30 22:06:17 +00:00
rjy7
5a11344775 NIHVIVO-649 Add freemarker template flattening to build. Includes flattening of template directory structure in vivo theme, and renaming of templates as needed for clarity. 2010-07-08 17:10:31 +00:00
rjy7
86394e3cf2 NIHVIVO-646 Work on autocomplete in add authors to publication form 2010-06-21 16:07:20 +00:00
rjy7
4e168078c6 Added Support link to header and footer link lists. Modified firstLastList macro so it doesn't require delimiters separating the list items. 2010-06-09 19:37:16 +00:00
rjy7
340970c891 Miscellaneous minor changes for Freemarker implementation. Restored old entitylist instead of new individuallist until url errors in the latter are fixed. 2010-06-02 21:23:23 +00:00