summaryrefslogtreecommitdiffstats
path: root/idrop-web/grails-app/views/browse/dataObjectInfo.gsp
diff options
context:
space:
mode:
Diffstat (limited to 'idrop-web/grails-app/views/browse/dataObjectInfo.gsp')
-rw-r--r--idrop-web/grails-app/views/browse/dataObjectInfo.gsp17
1 files changed, 15 insertions, 2 deletions
diff --git a/idrop-web/grails-app/views/browse/dataObjectInfo.gsp b/idrop-web/grails-app/views/browse/dataObjectInfo.gsp
index e37c7c7..4105810 100644
--- a/idrop-web/grails-app/views/browse/dataObjectInfo.gsp
+++ b/idrop-web/grails-app/views/browse/dataObjectInfo.gsp
@@ -25,8 +25,6 @@
</h3>
</div>
-
-
<ul class="nav nav-tabs" id="infoTabs">
<li class="active"><a href="#info" id="infoTab"><g:message
code="text.info" /></a></li>
@@ -41,6 +39,11 @@
</g:if>
<li><a href="#audit" id="auditTab"><g:message
code="text.audit" /></a></li>
+ <g:if
+ test="${rule}">
+ <li><a href="#rule" id="ruleTab"><g:message
+ code="text.rule" /></a></li>
+ </g:if>
</ul>
<div class="tab-content">
@@ -246,6 +249,12 @@
<div class="tab-pane" id="audit">
<div id="infoAccordionAuditInner"></div>
</div>
+ <g:if
+ test="${rule}">
+ <div class="tab-pane" id="rule">
+ <div id="infoAccordionRuleInner"></div>
+ </div>
+ </g:if>
</div>
</div>
@@ -285,6 +294,10 @@
showAuditView(selectedPath, "#infoAccordionAuditInner");
});
+ $('#ruleTab').on('shown', function(e) {
+ showRuleView(selectedPath, "#infoAccordionRuleInner");
+ });
+
});
function callUpdateTags() {