NIHVIVO-3335: Relocated RDF link for individual pages under popup for sharing URI profile
This commit is contained in:
parent
119032ce03
commit
cb99134a1d
2 changed files with 25 additions and 14 deletions
|
@ -32,8 +32,18 @@ var menuManagement = {
|
|||
|
||||
menuItems.attr('title', 'Drag and drop to reorder menu items');
|
||||
|
||||
|
||||
|
||||
/*$("#loading").ajaxStart(function(){
|
||||
$(this).show();
|
||||
});
|
||||
$("#loading").ajaxStop(function(){
|
||||
$(this).hide();
|
||||
});*/
|
||||
|
||||
|
||||
this.menuItemsList.sortable({
|
||||
cursor: 'move',
|
||||
cursor: 'move',
|
||||
update: function(event, ui) {
|
||||
menuManagement.reorderMenuItems(event, ui);
|
||||
}
|
||||
|
@ -45,6 +55,9 @@ var menuManagement = {
|
|||
var menuItems = $('li.menuItem').map(function(index, el) {
|
||||
return $(this).data('menuItemUri');
|
||||
}).get();
|
||||
|
||||
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: menuManagement.reorderUrl,
|
||||
|
@ -61,7 +74,8 @@ var menuManagement = {
|
|||
pos = index + 1;
|
||||
// Set the new position for this element. The only function of this value
|
||||
// is so we can reset an element to its original position in case reordering fails.
|
||||
menuManagement.setPosition(this, pos);
|
||||
menuManagement.setPosition(this, pos);
|
||||
|
||||
});
|
||||
},
|
||||
error: function(request, status, error) {
|
||||
|
|
|
@ -32,21 +32,10 @@
|
|||
<@p.label individual editable />
|
||||
|
||||
<#-- Most-specific types -->
|
||||
<@p.mostSpecificTypes individual />
|
||||
<@p.mostSpecificTypes individual /><img id="uriIcon" title="${individual.uri}" class="middle" src="${urls.images}/individual/uriIcon.gif" alt="uri icon"/>
|
||||
</h1>
|
||||
</#if>
|
||||
</header>
|
||||
|
||||
<nav role="navigation">
|
||||
<ul id ="individual-tools" role="list">
|
||||
<li role="listitem"><img id="uriIcon" title="${individual.uri}" class="middle" src="${urls.images}/individual/uriIcon.gif" alt="uri icon"/></li>
|
||||
|
||||
<#assign rdfUrl = individual.rdfUrl>
|
||||
<#if rdfUrl??>
|
||||
<li role="listitem"><a title="View this individual in RDF format" class="icon-rdf" href="${rdfUrl}">RDF</a></li>
|
||||
</#if>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<#if individualProductExtension??>
|
||||
${individualProductExtension}
|
||||
|
@ -63,6 +52,14 @@
|
|||
<#-- Ontology properties -->
|
||||
<#include "individual-properties.ftl">
|
||||
|
||||
<#assign rdfUrl = individual.rdfUrl>
|
||||
|
||||
<#if rdfUrl??>
|
||||
<script>
|
||||
var individualRdfUrl = '${rdfUrl}';
|
||||
</script>
|
||||
</#if>
|
||||
|
||||
${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/individual/individual.css" />')}
|
||||
|
||||
${headScripts.add('<script type="text/javascript" src="${urls.base}/js/jquery_plugins/qtip/jquery.qtip-1.0.0-rc3.min.js"></script>',
|
||||
|
|
Loading…
Add table
Reference in a new issue