浏览代码

[GINR] Annex fork warning should display below

cgars 7 年之前
父节点
当前提交
90d3ce552d
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      templates/repo/header.tmpl

+ 2 - 1
templates/repo/header.tmpl

@@ -24,7 +24,8 @@
 								</a>
 							</div>
 							{{if .CanBeForked}}
-								<div class="ui labeled button" tabindex="0" data-tooltip="Pleaese note: annexed file content will not be forked">
+							<div class="ui labeled button" tabindex="0"
+									 data-tooltip="Pleaese note: annexed file content will not be forked" data-position="bottom center">
 									<a class="ui basic button {{if eq .OwnerID $.LoggedUserID}}poping up{{end}}" href="{{AppSubURL}}/repo/fork/{{.ID}}">
 										<i class="octicon octicon-repo-forked"></i>{{$.i18n.Tr "repo.fork"}}
 									</a>