Browse Source

More polishing for NRNU MEPhI

Dmitry Yu Okunev 6 years ago
parent
commit
33d4cd784b

+ 1 - 0
conf/locale/locale_bg-BG.ini

@@ -4,6 +4,7 @@ home=Начало
 dashboard=Табло
 explore=Каталог
 help=Помощ
+contacts=Contacts
 sign_in=Вход
 sign_out=Изход
 sign_up=Регистрирайте се

+ 1 - 0
conf/locale/locale_de-DE.ini

@@ -4,6 +4,7 @@ home=Home
 dashboard=Übersicht
 explore=Erkunden
 help=Hilfe
+contacts=Contacts
 sign_in=Anmelden
 sign_out=Abmelden
 sign_up=Registrieren

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

@@ -4,6 +4,7 @@ home = Home
 dashboard = Dashboard
 explore = Explore
 help = Help
+contacts = Contacts
 sign_in = Sign In
 sign_out = Sign Out
 sign_up = Sign Up

+ 1 - 0
conf/locale/locale_es-ES.ini

@@ -4,6 +4,7 @@ home=Inicio
 dashboard=Panel de control
 explore=Explorar
 help=Ayuda
+contacts=Contacts
 sign_in=Iniciar sesión
 sign_out=Cerrar sesión
 sign_up=Suscripción

+ 1 - 0
conf/locale/locale_fr-FR.ini

@@ -4,6 +4,7 @@ home=Accueil
 dashboard=Tableau de bord
 explore=Explorer
 help=Aide
+contacts=Contacts
 sign_in=Connexion
 sign_out=Déconnexion
 sign_up=Créer un compte

+ 1 - 0
conf/locale/locale_it-IT.ini

@@ -4,6 +4,7 @@ home=Home
 dashboard=Pannello di controllo
 explore=Esplora
 help=Aiuto
+contacts=Contacts
 sign_in=Accedi
 sign_out=Esci
 sign_up=Registrati

+ 1 - 0
conf/locale/locale_ja-JP.ini

@@ -4,6 +4,7 @@ home=ホーム
 dashboard=ダッシュボード
 explore=エスクプローラ
 help=ヘルプ
+contacts=Contacts
 sign_in=サインイン
 sign_out=サインアウト
 sign_up=サインアップ

+ 1 - 0
conf/locale/locale_lv-LV.ini

@@ -4,6 +4,7 @@ home=Sākums
 dashboard=Infopanelis
 explore=Izpētīt
 help=Palīdzība
+contacts=Contacts
 sign_in=Pierakstīties
 sign_out=Izrakstīties
 sign_up=Pieteikties

+ 1 - 0
conf/locale/locale_nl-NL.ini

@@ -4,6 +4,7 @@ home=Huis
 dashboard=Dashboard
 explore=Verkennen
 help=Help
+contacts=Contacts
 sign_in=Inloggen
 sign_out=Afmelden
 sign_up=Aanmelden

+ 1 - 0
conf/locale/locale_pl-PL.ini

@@ -4,6 +4,7 @@ home=Strona główna
 dashboard=Pulpit
 explore=Odkrywaj
 help=Pomoc
+contacts=Contacts
 sign_in=Zaloguj się
 sign_out=Wyloguj
 sign_up=Zarejestruj się

+ 1 - 0
conf/locale/locale_pt-BR.ini

@@ -4,6 +4,7 @@ home=Página Inicial
 dashboard=Página Inicial
 explore=Explorar
 help=Ajuda
+contacts=Contacts
 sign_in=Entrar
 sign_out=Sair
 sign_up=Cadastrar

+ 1 - 0
conf/locale/locale_ru-RU.ini

@@ -4,6 +4,7 @@ home=Главная
 dashboard=Панель мониторинга
 explore=Обзор
 help=Помощь
+contacts=Контакты
 sign_in=Войти
 sign_out=Выход
 sign_up=Регистрация

+ 1 - 0
conf/locale/locale_zh-CN.ini

@@ -4,6 +4,7 @@ home=首页
 dashboard=控制面板
 explore=探索
 help=帮助
+contacts=Contacts
 sign_in=登录
 sign_out=退出
 sign_up=注册

+ 1 - 0
conf/locale/locale_zh-HK.ini

@@ -4,6 +4,7 @@ home=首頁
 dashboard=控制面版
 explore=探索
 help=幫助
+contacts=Contacts
 sign_in=登錄
 sign_out=退出
 sign_up=註冊

File diff suppressed because it is too large
+ 732 - 926
modules/bindata/bindata.go


+ 2 - 2
templates/base/footer.tmpl

@@ -7,7 +7,7 @@
 	<footer>
 		<div class="ui container">
 			<div class="ui left">
-				© 2015 Gogs {{if (or .ShowFooterVersion .PageIsAdmin)}}{{.i18n.Tr "version"}}: {{AppVer}}{{end}} {{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong>
+				Powered by Gogs | {{if (or .ShowFooterVersion .PageIsAdmin)}}{{.i18n.Tr "version"}}: {{AppVer}}{{end}} {{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong>
 			</div>
 			<div class="ui right links">
 				{{if .ShowFooterBranding}}
@@ -24,7 +24,7 @@
 						{{end}}
 					</div>
 				</div>
-				<a target="_blank" href="http://gogs.io">{{.i18n.Tr "website"}}</a>
+				<a target="_blank" href="https://mephi.ru/">НИЯУ МИФИ</a>
 				{{if (or .ShowFooterVersion .PageIsAdmin)}}<span class="version">{{GoVer}}</span>{{end}}
 			</div>
 		</div>

+ 1 - 1
templates/base/head.tmpl

@@ -127,7 +127,7 @@
 
 								{{else}}
 
-									<a class="item" target="_blank" href="http://gogs.io/docs" rel="noreferrer">{{.i18n.Tr "help"}}</a>
+									<a class="item" target="_blank" href="https://voip.mephi.ru/units/0153600">{{.i18n.Tr "contacts"}}</a>
 									<div class="right menu">
 										{{if .ShowRegistrationButton}}
 											<a class="item{{if .PageIsSignUp}} active{{end}}" href="{{AppSubUrl}}/user/sign_up">

+ 10 - 1
templates/home.tmpl

@@ -6,12 +6,21 @@
 				<img class="logo" src="{{AppSubUrl}}/img/gogs-lg.png" />
 			</div>
 			<br><br>
+			{{if eq .Lang "ru-RU"}}
+			<div class="hero">
+				<h1 class="ui icon header title">
+					Сервер совместной разработки НИЯУ МИФИ
+				</h1>
+			</div>
+			См. также: <a href='https://gitlab.mephi.ru' target='_blank'>https://gitlab.mephi.ru/</a>
+			{{else}}
 			<div class="hero">
 				<h1 class="ui icon header title">
 					NRNU MEPhI git-based development collaboration service
 				</h1>
 			</div>
-			See also: <a href='https://gitlab.mephi.ru'>https://gitlab.mephi.ru/</a>
+			See also: <a href='https://gitlab.mephi.ru' target='_blank'>https://gitlab.mephi.ru/</a>
+			{{end}}
 		</div>
 	</div>
 </div>