Bläddra i källkod

[GINR] link to doid in explore menue

cgars 7 år sedan
förälder
incheckning
e24b1aa2df
3 ändrade filer med 8 tillägg och 0 borttagningar
  1. 3 0
      conf/locale/locale_en-GB.ini
  2. 2 0
      conf/locale/locale_en-US.ini
  3. 3 0
      templates/explore/navbar.tmpl

+ 3 - 0
conf/locale/locale_en-GB.ini

@@ -1,3 +1,5 @@
+gindoi=Registered Datasets
+
 app_desc=A painless self-hosted Git service
 
 home=Home
@@ -1272,6 +1274,7 @@ notices.desc=Description
 notices.op=Op.
 notices.delete_success=System notices have been deleted successfully.
 
+
 [action]
 create_repo=created repository <a href="%s">%s</a>
 fork_repo=forked a repository to <a href="%s">%s</a>

+ 2 - 0
conf/locale/locale_en-US.ini

@@ -1,3 +1,5 @@
+gindoi = Registered Datasets
+
 app_desc = A painless self-hosted Git service
 
 home = Home

+ 3 - 0
templates/explore/navbar.tmpl

@@ -4,6 +4,9 @@
 		<a class="{{if .PageIsExploreRepositories}}active{{end}} item" href="{{AppSubURL}}/explore/repos">
 			<span class="octicon octicon-repo"></span> {{.i18n.Tr "explore.repos"}}
 		</a>
+		<a class="item" href="https://doid.gin.g-node.org">
+			<span class="octicon octicon-mortar-board"></span> {{.i18n.Tr "gindoi"}}
+		</a>
 		{{if .LoggedUser}}
 		<a class="{{if .PageIsExploreUsers}}active{{end}} item" href="{{AppSubURL}}/explore/users">
 			<span class="octicon octicon-person"></span> {{.i18n.Tr "explore.users"}}