|
@@ -7,14 +7,14 @@
|
|
{{if $.IsRepositoryAdmin}}
|
|
{{if $.IsRepositoryAdmin}}
|
|
{{if $.IsDOIReady}} {{/* Ready to (re)register: Show button */}}
|
|
{{if $.IsDOIReady}} {{/* Ready to (re)register: Show button */}}
|
|
<div class="ui labeled button" tabindex="0">
|
|
<div class="ui labeled button" tabindex="0">
|
|
- <a class="ui basic button" href="/{{.Owner.Name}}/{{.Name}}/doi"><i class="octicon octicon-squirrel"></i>DOIfy</a>
|
|
|
|
|
|
+ <a class="ui basic button" href="/{{.Owner.Name}}/{{.Name}}/doi"><i class="octicon octicon-squirrel"></i> Request DOI</a>
|
|
</div>
|
|
</div>
|
|
{{else if not $.DOI}} {{/*Link to registration instructions*/}}
|
|
{{else if not $.DOI}} {{/*Link to registration instructions*/}}
|
|
<div class="ui labeled button " tabindex="0">
|
|
<div class="ui labeled button " tabindex="0">
|
|
- <a class="ui basic button" data-tooltip="Your repository does not fulfill all requirements for a doi yet. Click to get instructions." data-position="bottom center" href="/G-Node/Info/wiki/DOI">
|
|
|
|
- <i class="octicon octicon-squirrel"></i> DOIfy
|
|
|
|
|
|
+ <a class="ui basic button" data-tooltip="Your repository does not fulfill all requirements for a DOI yet. Click to get instructions." data-position="bottom center" href="/G-Node/Info/wiki/DOI">
|
|
|
|
+ <i class="octicon octicon-squirrel"></i> How to publish
|
|
</a>
|
|
</a>
|
|
- <a class="ui basic label" href="{{$.RepoLink}}/_add/{{EscapePound $.BranchName}}/datacite.yml" data-tooltip="Add Doifile" data-position="bottom center">
|
|
|
|
|
|
+ <a class="ui basic label" href="{{$.RepoLink}}/_add/{{EscapePound $.BranchName}}/datacite.yml" data-tooltip="Add datacite file" data-position="bottom center">
|
|
<i class="octicon octicon-file"></i>
|
|
<i class="octicon octicon-file"></i>
|
|
</a>
|
|
</a>
|
|
</div>
|
|
</div>
|