Skip to content

Commit

Permalink
SAK-33809: Collapsible citation sections has a number of issues (saka…
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaswilson100 authored and ern committed Jan 26, 2018
1 parent 046d825 commit afc3619
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2531,6 +2531,7 @@ public String buildNewResourcePanelContext(VelocityPortlet portlet, Context cont
context.put("collectionSize", new Integer(collectionSize));
context.put("sectionBackgroundColour", scs.getString("official.institution.background.colour"));
context.put("sectionTextColour", scs.getString("official.institution.text.colour"));
context.put("enableSections", scs.getBoolean("citations.enable.sections", false));


Locale locale = rb.getLocale();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@
#end ## end of h1 sections

## add section button
<div class="act" id="addSectionDiv">
<input id="addSectionButton" type="button" name="AddSection" class="active" value="$tlang.getString("nested.add.section.button")"/>
</div>
#if($enableSections)
<div class="act" id="addSectionDiv">
<input id="addSectionButton" type="button" name="AddSection" class="active" value="$tlang.getString("nested.add.section.button")"/>
</div>
#end

0 comments on commit afc3619

Please sign in to comment.