cgars пре 7 година
родитељ
комит
971778a79a
2 измењених фајлова са 16 додато и 8 уклоњено
  1. 10 0
      templates/base/head.tmpl
  2. 6 8
      templates/repo/home.tmpl

+ 10 - 0
templates/base/head.tmpl

@@ -123,6 +123,16 @@
 				<div class="ui container">
 					<div class="ui grid">
 						<div class="column">
+							<div class="ui icon warning message">
+								<i class="warning sign icon"></i>
+								<div class="content">
+									<div class="header">
+										GIN will be offline on February 2 for ~ 20 minutes
+									</div>
+									<p>Due to maintenance GIN will be offline for approximately 20 minutes on February 2 between 08.00 and 09.00 CET. </p>
+								</div>
+							</div>
+
 							<div class="ui top secondary menu">
 								<a class="item brand" href="{{AppSubURL}}/">
 									<img class="ui mini image" src="{{AppSubURL}}/img/favicon.png">

+ 6 - 8
templates/repo/home.tmpl

@@ -24,7 +24,7 @@
 		{{end}}
 		<div class="ui secondary menu">
 			{{if .PullRequestCtx.Allowed}}
-				<div class="fitted item">
+				<div class="fitted item" data-tooltip="Please note: annexed file content will not be part of a pull request">
 					<a href="{{.BaseRepo.Link}}/compare/{{.BaseRepo.DefaultBranch}}...{{.PullRequestCtx.HeadInfo}}">
 						<button class="ui green small button"><i class="octicon octicon-git-compare"></i></button>
 					</a>
@@ -96,22 +96,20 @@
 						<div id="download_modal" class="ui modal warning">
 							<i class="close icon"></i>
 							<div class="content">
-								<div class="ui header">So you want to download data without tooling (eg. git, git-annex or GIN)?</div>
+								<div class="ui header">So you want to download data without special tooling (e.g. git, git-annex or GIN)?</div>
 								<p>Here is what you can do:</p>
 								<p>Download the small files and the file structure as an archive (zip or tar). The big files will be
-									included namewise but the data will not be there. To get the content of the big files
-									you need to download them individually from the web interface. This way you can get the file structure but the heavy load only on demand!</p>
-								<p>Download the small files as GIN archive(*.gin.zip). This is comparable to the situation above, however
-									you also get the history and the possibility
-									to request the big  files via git-annex or GIN-client.</p>
+									included namewise but the data will not be there. To get the content of the big files you need to download them individually from the web interface. This way you can get the file structure but the heavy loads only on demand!</p>
+								<p>Download the small files as GIN archive(*.gin.zip). This is comparable to the situation above, however,
+									you also get the history of the files and the possibility  to request the big  files via git-annex or the GIN-client.</p>
 							</div>
 							<div class="actions">
 								<a class="ui positive button" href="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.zip"><i class="octicon octicon-file-zip"></i> Download zip</a>
 								<a class="ui positive button" href="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.tar.gz"><i class="octicon octicon-file-zip"></i> Download tar.gz</a>
 								<a class="ui positive button" href="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.gin.zip"><i
 									class="octicon octicon-file-zip"></i> Download GIN archive</a>
-								</div>
 							</div>
+						</div>
 
 					</div>
 				{{end}}