template changes for internationalization -- replaced displayed text with calls to properties file containing actual strings
This commit is contained in:
parent
6d7f8e05c8
commit
fa68e0c057
24 changed files with 407 additions and 116 deletions
|
@ -4,26 +4,26 @@
|
|||
|
||||
<h2>Restrict Logins</h2>
|
||||
<#if messageAlreadyRestricted??>
|
||||
<#assign errorMessage = "Logins are already restricted." />
|
||||
<#assign errorMessage = "${i18n().logins_already_restricted}" />
|
||||
</#if>
|
||||
|
||||
<#if messageAlreadyOpen??>
|
||||
<#assign errorMessage = "Logins are already not restricted." />
|
||||
<#assign errorMessage = "${i18n().logins_not_already_restricted}" />
|
||||
</#if>
|
||||
|
||||
<#if errorMessage?has_content>
|
||||
<section id="error-alert" role="alert">
|
||||
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
|
||||
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="${i18n().error_alert_icon}" />
|
||||
<p>${errorMessage}</p>
|
||||
</section>
|
||||
</#if>
|
||||
|
||||
<#if messageRestricting??>
|
||||
<#assign successMessage = "Logins are now restricted." />
|
||||
<#assign successMessage = "${i18n().logins_restricted}" />
|
||||
</#if>
|
||||
|
||||
<#if messageOpening??>
|
||||
<#assign successMessage = "Logins are no longer restricted." />
|
||||
<#assign successMessage = "${i18n().logins_not_restricted}" />
|
||||
</#if>
|
||||
|
||||
<#if successMessage?has_content>
|
||||
|
@ -36,9 +36,9 @@
|
|||
<section id="restrict-login" role="region">
|
||||
<#if restricted == true>
|
||||
<h4>Logins are restricted</h4>
|
||||
<p><a href="${openUrl}" title="Remove Restrictions">Remove Restrictions</a></p>
|
||||
<p><a href="${openUrl}" title="${i18n().remove_restrictions}">${i18n().remove_restrictions}</a></p>
|
||||
<#else>
|
||||
<h4>Logins are open to all</h4>
|
||||
<p><a href="${restrictUrl}" title="Restrict Logins">Restrict Logins</a></p>
|
||||
<p><a href="${restrictUrl}" title="${i18n().Restrict Logins}">${i18n().Restrict Logins}</a></p>
|
||||
</#if>
|
||||
</section>
|
||||
|
|
|
@ -7,24 +7,24 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
|
|||
<h2>Authorization Info</h2>
|
||||
|
||||
<section id="show-auth" role="region">
|
||||
<h4>Current user</h4>
|
||||
<h4>${i18n().current_user}</h4>
|
||||
<table summary="Information about the current user">
|
||||
<#if currentUser?has_content>
|
||||
<tr><th>URI:</th><td>${currentUser.uri}</td></tr>
|
||||
<tr><th>First name:</th><td>${currentUser.firstName}</td></tr>
|
||||
<tr><th>Last name:</th><td>${currentUser.lastName}</td></tr>
|
||||
<tr><th>Email:</th><td>${currentUser.emailAddress}</td></tr>
|
||||
<tr><th>External Auth ID:</th><td>${currentUser.externalAuthId}</td></tr>
|
||||
<tr><th>Login count:</th><td>${currentUser.loginCount}</td></tr>
|
||||
<tr><th>${i18n().first_name}:</th><td>${currentUser.firstName}</td></tr>
|
||||
<tr><th>${i18n().last_name}:</th><td>${currentUser.lastName}</td></tr>
|
||||
<tr><th>${i18n().email_Address}:</th><td>${currentUser.emailAddress}</td></tr>
|
||||
<tr><th>${i18n().external_auth_id}:</th><td>${currentUser.externalAuthId}</td></tr>
|
||||
<tr><th>${i18n().login_count}:</th><td>${currentUser.loginCount}</td></tr>
|
||||
<#list currentUser.permissionSetUris as role>
|
||||
<tr><th>Role:</th><td>${role}</td></tr>
|
||||
<tr><th>${i18n().role}:</th><td>${role}</td></tr>
|
||||
</#list>
|
||||
<#else>
|
||||
<tr><th>Not logged in</th></tr>
|
||||
<tr><th>${i18n().not_logged_in}</th></tr>
|
||||
</#if>
|
||||
</table>
|
||||
|
||||
<h4>Identifiers:</h4>
|
||||
<h4>${i18n().identifiers}:</h4>
|
||||
<table summary="Identifiers">
|
||||
<#list identifiers as identifier>
|
||||
<tr>
|
||||
|
@ -34,11 +34,11 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
|
|||
</table>
|
||||
|
||||
<h4>
|
||||
AssociatedIndividuals:
|
||||
${i18n().associated_individuals}:
|
||||
<#if matchingProperty??>
|
||||
(match by ${matchingProperty})
|
||||
(${i18n().match_by(matchingProperty)})
|
||||
<#else>
|
||||
(matching property is not defined)
|
||||
(${i18n().matching_prop_not_defined})
|
||||
</#if>
|
||||
</h4>
|
||||
<table summary="Associated Individuals">
|
||||
|
@ -47,18 +47,18 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
|
|||
<tr>
|
||||
<td>${associatedIndividual.uri}</td>
|
||||
<#if associatedIndividual.editable>
|
||||
<td>May edit</td>
|
||||
<td>${i18n().may_edit}</td>
|
||||
<#else>
|
||||
<td>May not edit</td>
|
||||
<td>${i18n().may_not_edit}</td>
|
||||
</#if>
|
||||
</tr>
|
||||
</#list>
|
||||
<#else>
|
||||
<tr><td>none</td></tr>
|
||||
<tr><td>${i18n().none}</td></tr>
|
||||
</#if>
|
||||
</table>
|
||||
|
||||
<h4>Identifier factories:</h4>
|
||||
<h4>${i18n().identifier_factories}:</h4>
|
||||
<table summary="Active Identifier Factories">
|
||||
<#list factories as factory>
|
||||
<tr>
|
||||
|
@ -67,7 +67,7 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
|
|||
</#list>
|
||||
</table>
|
||||
|
||||
<h4>Policies:</h4>
|
||||
<h4>${i18n().policies}:</h4>
|
||||
<table summary="Policies" width="100%">
|
||||
<#list policies as policy>
|
||||
<tr>
|
||||
|
@ -76,7 +76,7 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/showAuth.css" /
|
|||
</#list>
|
||||
</table>
|
||||
|
||||
<h4>Authenticator:</h4>
|
||||
<h4>${i18n().authenticator}:</h4>
|
||||
<table summary="Authenticator" width="100%">
|
||||
<tr>
|
||||
<td>${authenticator}</td>
|
||||
|
|
|
@ -17,15 +17,15 @@ table.threadInfo th {
|
|||
</style>
|
||||
|
||||
|
||||
<h2>Background Threads</h2>
|
||||
<h2>${i18n().background_threads}</h2>
|
||||
|
||||
<section id="show-threads" role="region">
|
||||
<#list threads as threadInfo>
|
||||
<table class="threadInfo ${threadInfo.workLevel}" summary="Thread ${threadInfo.name}">
|
||||
<tr><th>Name</th><td>${threadInfo.name}</td></tr>
|
||||
<tr><th>WorkLevel</th><td>${threadInfo.workLevel}</td></tr>
|
||||
<tr><th>Since</th><td>${threadInfo.since}</td></tr>
|
||||
<tr><th>Flags</th><td>${threadInfo.flags}</td></tr>
|
||||
<tr><th>${i18n().name}</th><td>${threadInfo.name}</td></tr>
|
||||
<tr><th>${i18n().work_level}</th><td>${threadInfo.workLevel}</td></tr>
|
||||
<tr><th>${i18n().since}</th><td>${threadInfo.since}</td></tr>
|
||||
<tr><th>${i18n().flags}</th><td>${threadInfo.flags}</td></tr>
|
||||
</table>
|
||||
</#list>
|
||||
</section>
|
|
@ -4,40 +4,40 @@
|
|||
Template for the page that controls the updating or rebuilding of the Search Index.
|
||||
-->
|
||||
|
||||
<h2>Search Index Status</h2>
|
||||
<h2>${i18n().search_index_status}</h2>
|
||||
|
||||
<#if !indexIsConnected>
|
||||
<!-- Can't contact the Solr server. Indexing would be impossible. Show an error message. -->
|
||||
<section id="error-alert" role="alert">
|
||||
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
|
||||
<p>The search index is not connected.</p>
|
||||
<p><tt>SolrServer.ping()</tt> failed.
|
||||
<p>Check startup status page and/or Tomcat logs for more information.</p>
|
||||
<p>${i18n().search_index_not_connected}</p>
|
||||
<p><tt>SolrServer.ping()</tt> ${i18n().failed}.
|
||||
<p>${i18n().check_startup_status}</p>
|
||||
</section>
|
||||
|
||||
<#elseif worklevel == "IDLE">
|
||||
<!-- Solr indexer is idle. Show the button that rebuilds the index. -->
|
||||
<h3>The search indexer is idle.</h3>
|
||||
<h3>${i18n().search_indexer_idle}</h3>
|
||||
<#if hasPreviousBuild??>
|
||||
<p>The most recent update was at ${since?string("hh:mm:ss a, MMMM dd, yyyy")}</p>
|
||||
<p>${i18n().most_recent_update} ${since?string("hh:mm:ss a, MMMM dd, yyyy")}</p>
|
||||
</#if>
|
||||
|
||||
<form action="${actionUrl}" method="POST">
|
||||
<p>
|
||||
<input class="submit" type="submit" name="rebuild" value="Rebuild" role="button" />
|
||||
Reset the search index and re-populate it.
|
||||
<input class="submit" type="submit" name="rebuild" value="${i18n().rebuild_button}" role="button" />
|
||||
${i18n().reset_search_index}
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<#elseif totalToDo == 0>
|
||||
<!-- Solr indexer is preparing the list of records. Show elapsed time since request. -->
|
||||
<h3>Preparing to rebuild the search index. </h3>
|
||||
<p>since ${since?string("hh:mm:ss a, MMMM dd, yyyy")}, elapsed time ${elapsed}</p>
|
||||
<h3>${i18n().preparing_to_rebuild_index}</h3>
|
||||
<p>${i18n().since_elapsed_time(since?string("hh:mm:ss a, MMMM dd, yyyy"),elapsed)}</p>
|
||||
|
||||
<#else>
|
||||
<!-- Solr indexer is re-building the index. Show the progress. -->
|
||||
<h3>${currentTask} the search index.</h3>
|
||||
<p>since ${since?string("hh:mm:ss a, MMMM dd, yyyy")}, elapsed time ${elapsed}, estimated total time ${expected}</p>
|
||||
<p>Completed ${completedCount} out of ${totalToDo} index records.</p>
|
||||
<h3>${i18n().current_task(currentTask)}</h3>
|
||||
<p>${i18n().since_elapsed_time_est_total(since?string("hh:mm:ss a, MMMM dd, yyyy"),elapsed,expected)}</p>
|
||||
<p>${i18n().index_recs_completed(completedCount,totalToDo)}</p>
|
||||
|
||||
</#if>
|
||||
|
|
|
@ -35,9 +35,9 @@
|
|||
${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/startupStatus.css" />')}
|
||||
|
||||
<#if status.errorItems?has_content>
|
||||
<h2>Fatal error</h2>
|
||||
<h2>${i18n().fatal_error}</h2>
|
||||
|
||||
<p>${applicationName} detected a fatal error during startup.</p>
|
||||
<p>${i18n().fatal_error_detected(applicationName)}</p>
|
||||
|
||||
<ul id="startup-trace" cellspacing="0" class="trace" role="navigation">
|
||||
<#list status.errorItems as item>
|
||||
|
@ -47,9 +47,9 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/startupStatus.c
|
|||
</#if>
|
||||
|
||||
<#if status.warningItems?has_content>
|
||||
<h2>Warning</h2>
|
||||
<h2>${i18n().warning}</h2>
|
||||
|
||||
<p>${applicationName} issued warnings during startup.</p>
|
||||
<p>${i18n().warning_issued(applicationName)}</p>
|
||||
|
||||
<ul id="startup-trace" cellspacing="0" class="trace" role="navigation"><#list status.warningItems as item>
|
||||
<@statusItem item=item />
|
||||
|
@ -57,9 +57,9 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/startupStatus.c
|
|||
</ul>
|
||||
</#if>
|
||||
|
||||
<h2>Startup trace</h2>
|
||||
<h2>${i18n().startup_trace}</h2>
|
||||
|
||||
<p>The full list of startup events and messages.</p>
|
||||
<p>${i18n().full_list_startup}</p>
|
||||
|
||||
<ul id="startup-trace" cellspacing="0" class="trace" role="navigation">
|
||||
<#list status.statusItems as item>
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Startup Status</title>
|
||||
<title>${i18n().startup_status}</title>
|
||||
|
||||
<style TYPE="text/css">
|
||||
#startup-trace {
|
||||
|
@ -77,9 +77,9 @@
|
|||
|
||||
<body>
|
||||
<#if status.errorItems?has_content>
|
||||
<h2>Fatal error</h2>
|
||||
<h2>${i18n().fatal_error}</h2>
|
||||
|
||||
<p>${applicationName} detected a fatal error during startup.</p>
|
||||
<p>${i18n().fatal_error_detected(applicationName)}</p>
|
||||
|
||||
<ul id="startup-trace" cellspacing="0" class="trace" role="navigation">
|
||||
<#list status.errorItems as item>
|
||||
|
@ -89,9 +89,9 @@
|
|||
</#if>
|
||||
|
||||
<#if status.warningItems?has_content>
|
||||
<h2>Warning</h2>
|
||||
<h2>${i18n().warning}</h2>
|
||||
|
||||
<p>${applicationName} issued warnings during startup.</p>
|
||||
<p>${i18n().warning_issued(applicationName)}</p>
|
||||
|
||||
<ul id="startup-trace" cellspacing="0" class="trace" role="navigation"><#list status.warningItems as item>
|
||||
<@statusItem item=item />
|
||||
|
@ -100,14 +100,14 @@
|
|||
|
||||
<#-- If there were no fatal errors, let them go forward from here. -->
|
||||
<#if showLink>
|
||||
<p><a href="${url}" title="continue">Continue</a></p>
|
||||
<p><a href="${url}" title="continue">${i18n().continue}</a></p>
|
||||
</#if>
|
||||
|
||||
</#if>
|
||||
|
||||
<h2>Startup trace</h2>
|
||||
<h2>${i18n().startup_trace}</h2>
|
||||
|
||||
<p>The full list of startup events and messages.</p>
|
||||
<p>${i18n().full_list_startup}</p>
|
||||
|
||||
<ul id="startup-trace" cellspacing="0" class="trace" role="navigation">
|
||||
<#list status.statusItems as item>
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
|
||||
<#if spamReason??>
|
||||
<section id="error-alert" role="alert">
|
||||
<img src="${urls.images}/iconAlert.png" width="24" height="24" alert="Error alert icon" />
|
||||
<img src="${urls.images}/iconAlert.png" width="24" height="24" alt="${i18n().error_alert_icon}" />
|
||||
|
||||
<p>REJECTED - SPAM</p>
|
||||
<p>${i18n().rejected_spam}</p>
|
||||
<p>${spamReason}</p>
|
||||
</section>
|
||||
</#if>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<#-- Contact form submission confirmation page -->
|
||||
|
||||
<h2>Thank you for your feedback</h2>
|
||||
<h2>${i18n().feedback_thanks_heading}</h2>
|
||||
|
||||
<p>Thank you for contacting our curation and development team. We will respond to your inquiry as soon as possible.</p>
|
||||
<p>Return to the <a href="${urls.home}">home page</a>.</p>
|
||||
<p>${i18n().feedback_thanks_text}</p>
|
||||
<p>${i18n().return_to_the} <a href="${urls.home}" title="${i18n().home_page}">${i18n().home_page}</a>.</p>
|
|
@ -12,17 +12,17 @@
|
|||
<body>
|
||||
<h3>${subject}</h3>
|
||||
|
||||
<p><strong>From:</strong> ${name}</p>
|
||||
<p><strong>${i18n().from}:</strong> ${name}</p>
|
||||
|
||||
<p><strong>Email address:</strong> ${emailAddress}</p>
|
||||
<p><strong>${i18n().email_address}:</strong> ${emailAddress}</p>
|
||||
|
||||
<p>
|
||||
<strong>IP address:</strong> ${ip}<br />
|
||||
<strong>${i18n().ip_address}:</strong> ${ip}<br />
|
||||
<#if referrer??>
|
||||
<em>Likely viewing page: ${referrer}</em>
|
||||
<em>${i18n().viewing_page}: ${referrer}</em>
|
||||
</#if>
|
||||
</p>
|
||||
|
||||
<p><strong>Comments:</strong> ${comments}</p>
|
||||
<p><strong>${i18n().comments}:</strong> ${comments}</p>
|
||||
</body>
|
||||
</html>
|
|
@ -10,4 +10,6 @@
|
|||
</section>
|
||||
</#if>
|
||||
|
||||
<p class="contactUsReturnHome">Return to the <a href="${urls.home}" title="home page">home page</a>.</p>
|
||||
<p class="contactUsReturnHome">${i18n().return_to_the}
|
||||
<a href="${urls.home}" title="${i18n().home_page}">${i18n().home_page}</a>.
|
||||
</p>
|
|
@ -11,9 +11,7 @@
|
|||
</section>
|
||||
</#if>
|
||||
|
||||
<p>Thank you for your interest in ${siteName}.
|
||||
Please submit this form with questions, comments, or feedback about the content of this site.
|
||||
</p>
|
||||
<p>${i18n().interest_thanks(siteName)}</p>
|
||||
|
||||
<form name="contact_form" id="contact_form" class="customForm" action="${formAction!}" method="post" onSubmit="return ValidateForm('contact_form');" role="contact form">
|
||||
<input type="hidden" name="RequiredFields" value="webusername,webuseremail,s34gfd88p9x1" />
|
||||
|
@ -22,25 +20,25 @@
|
|||
<input type="hidden" name="EmailFieldsNames" value="emailaddress" />
|
||||
<input type="hidden" name="DeliveryType" value="contact" />
|
||||
|
||||
<label for="webusername">Full name <span class="requiredHint"> *</span></label>
|
||||
<label for="webusername">${i18n().full_name} <span class="requiredHint"> *</span></label>
|
||||
<input type="text" name="webusername" value="${webusername!}"/>
|
||||
|
||||
<label for="webuseremail">Email address <span class="requiredHint"> *</span></label>
|
||||
<label for="webuseremail">${i18n().email_address} <span class="requiredHint"> *</span></label>
|
||||
<input type="text" name="webuseremail" value="${webuseremail!}"/>
|
||||
|
||||
<label>Comments, questions, or suggestions <span class="requiredHint"> *</span></label>
|
||||
<label>${i18n().comments_questions} <span class="requiredHint"> *</span></label>
|
||||
<textarea name="s34gfd88p9x1" rows="10" cols="90">${comments!}</textarea>
|
||||
|
||||
|
||||
<p><label class="realpersonLabel">Please enter the letters displayed below into the security field:</label>
|
||||
<p><label class="realpersonLabel">${i18n().enter_in_security_field}:</label>
|
||||
|
||||
<input type="text" id="defaultReal" name="defaultReal"></p>
|
||||
|
||||
<div class="buttons">
|
||||
<br /><input id="submit" type="submit" value="Send Mail" />
|
||||
<br /><input id="submit" type="submit" value="${i18n().send_mail}" />
|
||||
</div>
|
||||
|
||||
<p class="requiredHint">* required fields</p>
|
||||
<p class="requiredHint">* ${i18n().required_fields}</p>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
<#-- Template for help on individual page -->
|
||||
|
||||
<h2>Individual not found:</h2>
|
||||
<h2>${i18n().individual_not_found}</h2>
|
||||
|
||||
<p>id is the id of the entity to query for. netid also works.</p>
|
||||
<p>${i18n().entity_to_query_for}</p>
|
|
@ -13,7 +13,7 @@
|
|||
var menuItemData = [];
|
||||
</script>
|
||||
|
||||
<h3>Menu Ordering</h3>
|
||||
<h3>${i18n().menu_ordering}</h3>
|
||||
|
||||
<#-- List the menu items -->
|
||||
<ul class="menuItems">
|
||||
|
@ -34,7 +34,7 @@
|
|||
|
||||
</form>
|
||||
<br />
|
||||
<p class="note">Refresh page after reordering menu items</p>
|
||||
<p class="note">${i18n().refresh_page_after_reordering}</p>
|
||||
</#if>
|
||||
</#if>
|
||||
|
||||
|
@ -55,5 +55,5 @@
|
|||
|
||||
${scripts.add('<script type="text/javascript" src="${urls.base}/js/individual/menuManagement.js"></script>')}
|
||||
<#else>
|
||||
<p id="error-alert">There was an error in the system. The display:hasElement property could not be retrieved.</p>
|
||||
<p id="error-alert">${i18n().display_has_element_error}</p>
|
||||
</#if>
|
|
@ -28,7 +28,7 @@
|
|||
<header>
|
||||
<#if relatedSubject??>
|
||||
<h2>${relatedSubject.relatingPredicateDomainPublic} for ${relatedSubject.name}</h2>
|
||||
<p><a href="${relatedSubject.url}" title="return to subject">← return to ${relatedSubject.name}</a></p>
|
||||
<p><a href="${relatedSubject.url}" title="${i18n().return_to(relatedSubject.name)}">← ${i18n().return_to(relatedSubject.name)}</a></p>
|
||||
<#else>
|
||||
<h1 class="fn">
|
||||
<#-- Label -->
|
||||
|
|
|
@ -7,11 +7,9 @@
|
|||
<#if subjectName?? >
|
||||
<h2>Manage Labels for ${subjectName}</h2>
|
||||
<#else>
|
||||
<h2>Manage Labels</h2>
|
||||
<h2>${i18n().manage_labels}</h2>
|
||||
</#if>
|
||||
<p id="mngLabelsText">
|
||||
Multiple labels exist for this profile but there should only be one. Select the label you want displayed on the profile page, and the others will be deleted.
|
||||
</p>
|
||||
<p id="mngLabelsText">${i18n().manage_labels_intro}</p>
|
||||
|
||||
<section id="rdfsLabels" role="container">
|
||||
<ul>
|
||||
|
@ -43,11 +41,11 @@ Multiple labels exist for this profile but there should only be one. Select the
|
|||
|
||||
<br />
|
||||
<p>
|
||||
<input type="button" class="submit" id="submit" value="Save" role="button" role="input" />
|
||||
<input type="button" class="submit" id="submit" value="${i18n().save_button}" role="button" role="input" />
|
||||
<span class="or"> or </span>
|
||||
<a href="${urls.referringPage}" class="cancel" title="cancel" >Cancel</a>
|
||||
<a href="${urls.referringPage}" class="cancel" title="${i18n().cancel_title}" >${i18n().cancel_link}</a>
|
||||
<span id="indicator" class="indicator hidden">
|
||||
<img class="indicator" src="${urls.base}/images/indicatorWhite.gif" /> Your selection is being processed.
|
||||
<img class="indicator" src="${urls.base}/images/indicatorWhite.gif" alt="${i18n().processing_icon}"/> ${i18n().selection_in_process}
|
||||
</span>
|
||||
</p>
|
||||
</section>
|
||||
|
|
|
@ -6,18 +6,18 @@
|
|||
|
||||
<#if individual.showAdminPanel>
|
||||
<section id="admin">
|
||||
<h3 id="adminPanel">Admin Panel</h3><a class="edit-individual" href="${individual.controlPanelUrl()}" title="edit this individual">Edit this individual</a>
|
||||
<h3 id="adminPanel">${i18n().admin_panel}</h3><a class="edit-individual" href="${individual.controlPanelUrl()}" title="${i18n().edit_this_individual}">${i18n().edit_this_individual}</a>
|
||||
|
||||
<section id = "verbose-mode">
|
||||
<#if verbosePropertySwitch?has_content>
|
||||
<#assign anchorId = "verbosePropertySwitch">
|
||||
<#assign currentValue = verbosePropertySwitch.currentValue?string("on", "off")>
|
||||
<#assign newValue = verbosePropertySwitch.currentValue?string("off", "on")>
|
||||
<span>Verbose property display is <b>${currentValue}</b> | </span>
|
||||
<a id="${anchorId}" class="verbose-toggle small" href="${verbosePropertySwitch.url}#${anchorId}" title="verbose control">Turn ${newValue}</a>
|
||||
<#assign currentValue = verbosePropertySwitch.currentValue?string("${i18n().verbose_status_on}", "${i18n().verbose_status_off}")>
|
||||
<#assign newValue = verbosePropertySwitch.currentValue?string("${i18n().verbose_status_off}", "${i18n().verbose_status_on}")>
|
||||
<span>${i18n().verbose_property_status} <b>${currentValue}</b> | </span>
|
||||
<a id="${anchorId}" class="verbose-toggle small" href="${verbosePropertySwitch.url}" title="${i18n().verbose_control}"><#if verbosePropertySwitch.currentValue!>${i18n().verbose_turn_off}<#else>${i18n().verbose_turn_on}</#if></a>
|
||||
</#if>
|
||||
</section>
|
||||
|
||||
<p class="uri-link">Resource URI: <a href="${individual.uri}" target="_blank" title="resource uri">${individual.uri}</a></p>
|
||||
<p class="uri-link">${i18n().resource_uri}: <a href="${individual.uri}" target="_blank" title="${i18n().resource_uri}">${individual.uri}</a></p>
|
||||
</section>
|
||||
</#if>
|
|
@ -7,20 +7,20 @@
|
|||
<#-- Property display name -->
|
||||
<#if property.localName == "authorInAuthorship" && editable >
|
||||
<h3 id="${property.localName}">${property.name} <@p.addLink property editable /> <@p.verboseDisplay property />
|
||||
<a id="managePubLink" class="manageLinks" href="${urls.base}/managePublications?subjectUri=${subjectUri[1]!}" title="manage publications" <#if verbose>style="padding-top:10px"</#if> >
|
||||
manage publications
|
||||
<a id="managePubLink" class="manageLinks" href="${urls.base}/managePublications?subjectUri=${subjectUri[1]!}" title="${i18n().manage_publications}" <#if verbose>style="padding-top:10px"</#if> >
|
||||
${i18n().manage_publications}
|
||||
</a>
|
||||
</h3>
|
||||
<#elseif property.localName == "hasResearcherRole" && editable >
|
||||
<h3 id="${property.localName}">${property.name} <@p.addLink property editable /> <@p.verboseDisplay property />
|
||||
<a id="manageGrantLink" class="manageLinks" href="${urls.base}/manageGrants?subjectUri=${subjectUri[1]!}" title="manage grants & projects" <#if verbose>style="padding-top:10px"</#if> >
|
||||
manage grants & projects
|
||||
<a id="manageGrantLink" class="manageLinks" href="${urls.base}/manageGrants?subjectUri=${subjectUri[1]!}" title="${i18n().manage_grants_and_projects}" <#if verbose>style="padding-top:10px"</#if> >
|
||||
${i18n().manage_grants_and_projects}
|
||||
</a>
|
||||
</h3>
|
||||
<#elseif property.localName == "organizationForPosition" && editable >
|
||||
<h3 id="${property.localName}">${property.name} <@p.addLink property editable /> <@p.verboseDisplay property />
|
||||
<a id="managePeopleLink" class="manageLinks" href="${urls.base}/managePeople?subjectUri=${subjectUri[1]!}" title="manage people" <#if verbose>style="padding-top:10px"</#if> >
|
||||
manage affiliated people
|
||||
<a id="managePeopleLink" class="manageLinks" href="${urls.base}/managePeople?subjectUri=${subjectUri[1]!}" title="${i18n().manage_affiliated_people}" <#if verbose>style="padding-top:10px"</#if> >
|
||||
${i18n().manage_affiliated_people}
|
||||
</a>
|
||||
</h3>
|
||||
<#else>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<#assign groupnameHtmlId = p.createPropertyGroupHtmlId(groupname) >
|
||||
<#-- capitalize will capitalize each word in the name; cap_first only the first. We may need a custom
|
||||
function to capitalize all except function words. -->
|
||||
<li role="listitem"><a href="#${groupnameHtmlId}" title="group name">${groupname?capitalize}</a></li>
|
||||
<li role="listitem"><a href="#${groupnameHtmlId}" title="${i18n().group_name}">${groupname?capitalize}</a></li>
|
||||
</#if>
|
||||
</#list>
|
||||
</ul>
|
||||
|
@ -33,8 +33,8 @@
|
|||
|
||||
<section class="property-group" role="region">
|
||||
<nav class="scroll-up" role="navigation">
|
||||
<a href="#branding" title="scroll up">
|
||||
<img src="${urls.images}/individual/scroll-up.gif" alt="scroll to property group menus" />
|
||||
<a href="#branding" title="${i18n().scroll_to_menus}">
|
||||
<img src="${urls.images}/individual/scroll-up.gif" alt="${i18n().scroll_to_menus}" />
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
|||
<#assign groupNameHtmlId = p.createPropertyGroupHtmlId(groupName) >
|
||||
<h2 id="${groupNameHtmlId}">${groupName?capitalize}</h2>
|
||||
<#else>
|
||||
<h2 id="properties">Properties</h2>
|
||||
<h2 id="properties">${i18n().properties_capitalized}</h2>
|
||||
</#if>
|
||||
|
||||
<#-- List the properties in the group -->
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
<#--the function replaces spaces in the name with underscores, also called for the property group menu-->
|
||||
<#assign groupNameHtmlId = p.createPropertyGroupHtmlId(groupName) >
|
||||
<#else>
|
||||
<#assign groupName = "Properties">
|
||||
<#assign groupNameHtmlId = "properties" >
|
||||
<#assign groupName = "${i18n().properties_capitalized}">
|
||||
<#assign groupNameHtmlId = "${i18n().properties}" >
|
||||
</#if>
|
||||
<#if tabCount = 1 >
|
||||
<li class="selectedGroupTab clickable" groupName="${groupNameHtmlId}">${groupName?capitalize}</li>
|
||||
|
@ -28,7 +28,7 @@
|
|||
</#if>
|
||||
</#list>
|
||||
<#if (propertyGroups.all?size > 1) >
|
||||
<li class="nonSelectedGroupTab clickable" groupName="viewAll">View All</li>
|
||||
<li class="nonSelectedGroupTab clickable" groupName="viewAll">${i18n().view_all}</li>
|
||||
<li class="groupTabSpacer"> </li>
|
||||
</#if>
|
||||
</ul>
|
||||
|
@ -38,8 +38,8 @@
|
|||
<#assign verbose = (verbosePropertySwitch.currentValue)!false>
|
||||
<section id="${groupNameHtmlId}" class="property-group" role="region" style="<#if (sectionCount > 1) >display:none<#else>display:block</#if>">
|
||||
<nav id="scroller" class="scroll-up hidden" role="navigation">
|
||||
<a href="#branding" title="scroll up" >
|
||||
<img src="${urls.images}/individual/scroll-up.gif" alt="scroll to property group menus" />
|
||||
<a href="#branding" title="${i18n().scroll_to_menus}" >
|
||||
<img src="${urls.images}/individual/scroll-up.gif" alt="${i18n().scroll_to_menus}" />
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
|
@ -49,7 +49,7 @@
|
|||
<#assign groupNameHtmlId = p.createPropertyGroupHtmlId(groupName) >
|
||||
<h2 id="${groupNameHtmlId}" pgroup="tabs" class="hidden">${groupName?capitalize}</h2>
|
||||
<#else>
|
||||
<h2 id="properties" pgroup="tabs" class="hidden">Properties</h2>
|
||||
<h2 id="properties" pgroup="tabs" class="hidden">${i18n().properties_capitalized}</h2>
|
||||
</#if>
|
||||
<div id="${groupNameHtmlId}Group" >
|
||||
<#-- List the properties in the group -->
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<#assign groupnameHtmlId = p.createPropertyGroupHtmlId(groupname) >
|
||||
<#-- capitalize will capitalize each word in the name; cap_first only the first. We may need a custom
|
||||
function to capitalize all except function words. -->
|
||||
<li role="listitem"><a href="#${groupnameHtmlId}" title="group name">${groupname?capitalize}</a></li>
|
||||
<li role="listitem"><a href="#${groupnameHtmlId}" title="${i18n().group_name}">${groupname?capitalize}</a></li>
|
||||
</#if>
|
||||
</#list>
|
||||
</ul>
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
is also used to generate the property statement during a deletion.
|
||||
-->
|
||||
|
||||
<a href="${profileUrl(statement.uri("object"))}" title="name">${statement.label!statement.localName!}</a>
|
||||
<a href="${profileUrl(statement.uri("object"))}" title="${i18n().name}">${statement.label!statement.localName!}</a>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- Simple object property statement template -->
|
||||
|
||||
<a href="${profileUrl(statement.uri("object"))}" title="name">${statement.name!}</a>
|
||||
<a href="${profileUrl(statement.uri("object"))}" title="${i18n().name}">${statement.name!}</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue