فهرست منبع

Fix font for Add/Edit DataCite button

Font was inside the octicon <i> tags which turned it into octicon font.
Removed the unnecessary tooltips.
Achilleas Koutsou 5 سال پیش
والد
کامیت
4c33ca9732
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      templates/repo/header_gin.tmpl

+ 2 - 2
templates/repo/header_gin.tmpl

@@ -6,9 +6,9 @@
 						{{else if not $.DOI}} {{/*Link to registration instructions*/}}
 						{{else if not $.DOI}} {{/*Link to registration instructions*/}}
 							<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 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>
 							{{if $.HasDataCite}}
 							{{if $.HasDataCite}}
-								<a class="ui basic button" href="{{$.RepoLink}}/_edit/{{EscapePound $.BranchName}}/datacite.yml" data-tooltip="Add datacite file" data-position="bottom center"><i class="octicon octicon-file">Edit DataCite file</i></a>
+								<a class="ui basic button" href="{{$.RepoLink}}/_edit/{{EscapePound $.BranchName}}/datacite.yml" data-position="bottom center"><i class="octicon octicon-file"></i>Edit DataCite file</a>
 							{{else}}
 							{{else}}
-								<a class="ui basic button" href="{{$.RepoLink}}/_add/{{EscapePound $.BranchName}}/datacite.yml" data-tooltip="Add datacite file" data-position="bottom center"><i class="octicon octicon-file">Add DataCite file</i></a>
+								<a class="ui basic button" href="{{$.RepoLink}}/_add/{{EscapePound $.BranchName}}/datacite.yml" data-position="bottom center"><i class="octicon octicon-file"></i>Add DataCite file</a>
 							{{end}}
 							{{end}}
 						{{end}} {{/* End registration button */}}
 						{{end}} {{/* End registration button */}}
 					{{end}} {{/* Admin section */}}
 					{{end}} {{/* Admin section */}}