-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1084de2
commit 92f2ecf
Showing
4 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<div class="panel panel-default" ng-controller="PublicationController as pubCtrl" | ||
ng-cloak id="browse_lists" | ||
ng-show="pubCtrl.publications.length > 0 || !pubCtrl.readonly()" | ||
ng-form="PubForm"> | ||
<navigation-anchor anchor-name="{{pubCtrl.readonly() ? 'view_' : 'edit_'}}publications" title="Versions" condition="pubCtrl.publications.length > 0 || !pubCtrl.readonly()"></navigation-anchor> | ||
|
||
<div class="panel-heading"> | ||
<div class="row"> | ||
<div class="col-sm-12"> | ||
<h4 class="section-panel-heading">Versions</h4> | ||
<p:help help-id="profile.edit.versions" show="${edit}" collection-override="${opus?.help?.versionsLink}"/> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="panel-body"> | ||
<g:if test="${params.isOpusAuthor && grailsApplication.config.feature?.publications == 'false'}"> | ||
<alert type="warning">Snapshot versioning has been temporarily disabled.</alert> | ||
</g:if> | ||
<div class="row section-no-para"> | ||
<div class="col-sm-12" ng-repeat="pub in pubCtrl.publications"> | ||
<publication data="pub" opus-id="pubCtrl.opusId" profile-id="pubCtrl.profileId" prefix="${grailsApplication.config.doi.resolver.prefix}"> | ||
</publication> | ||
<hr ng-if="!$last"/> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters