Browse Source

Updated {{AppName}} -> Gitote

Yoginth 7 years ago
parent
commit
4a360f4e60

+ 1 - 1
templates/admin/config.tmpl

@@ -11,7 +11,7 @@
 				<div class="ui attached table segment">
 					<dl class="dl-horizontal admin-dl-horizontal">
 						<dt>Application Name</dt>
-						<dd>{{AppName}}</dd>
+						<dd>Gitote</dd>
 						<dt>Application Version</dt>
 						<dd>{{AppVer}}</dd>
 						<dt>Application URL</dt>

+ 3 - 3
templates/admin/dashboard.tmpl

@@ -10,9 +10,9 @@
 				</h4>
 				<div class="ui attached segment">
 					<h3>
-						{{AppName}}:(App) - <a href="https://gitote.in/gitote/gitote/commits/master">{{AppVer}}</a>
+						Gitote:(App) - <a href="https://gitote.in/gitote/gitote/commits/master">{{AppVer}}</a>
 						<br/>
-						{{AppName}}:(API) - <a href="{{AppURL}}api/{{APIVer}}/users/gitote">{{APIVer}}</a>
+						Gitote:(API) - <a href="{{AppURL}}api/{{APIVer}}/users/gitote">{{APIVer}}</a>
 						<br/>
 					</h3>
 				</div>
@@ -114,7 +114,7 @@
 								<td><a href="{{AppSubURL}}/admin?op=4">Run</a></td>
 							</tr>
 							<tr>
-								<td>Rewrite <b>'.ssh/authorized_keys'</b> file (caution: non-{{AppName}} keys will be lost)</td>
+								<td>Rewrite <b>'.ssh/authorized_keys'</b> file (caution: non-Gitote keys will be lost)</td>
 								<td><a href="{{AppSubURL}}/admin?op=5">Run</a></td>
 							</tr>
 							<tr>

+ 1 - 1
templates/base/footer.tmpl

@@ -8,7 +8,7 @@
 	<footer>
 		<div class="ui container">
 			<div class="ui left">
-				© 2018 {{AppName}} {{if or .IsBeta .IsAdmin .IsStaff}}(Beta){{end}}
+				© 2018 Gitote {{if or .IsBeta .IsAdmin .IsStaff}}(Beta){{end}}
 				<span class="mwlii"> • </span>
 				<a class="item mwlii" target="_blank" href="https://madewithlove.org.in">
 					<span>

+ 1 - 1
templates/base/footer_content.tmpl

@@ -1,6 +1,6 @@
 <div class="ui stackable grid container home-footer home-main padding">
 	<div class="seven wide right floated column">
-		<span class="ui header"><img src="https://cdn.jsdelivr.net/npm/gitote@1.0.1/logo.png">© 2018 {{AppName}}</span>
+		<span class="ui header"><img src="https://cdn.jsdelivr.net/npm/gitote@1.0.1/logo.png">© 2018 Gitote</span>
 	</div>
 	<div class="two wide column">
 		<h4 class="ui header explore-card font">Product</h4>

+ 6 - 6
templates/base/head.tmpl

@@ -7,15 +7,15 @@
 	<link rel="dns-prefetch" href="https://cdnjs.cloudflare.com">
 	{{template "base/meta" .}}
 	<link rel="icon" href="{{AppURL}}favicon.ico" type="image/x-icon"/>
-	<link rel="fluid-icon" href="{{AppURL}}fluidicon.png" title="{{AppName}}">
-	<link rel="search" type="application/opensearchdescription+xml" href="/search.xml" title="{{AppName}}">
+	<link rel="fluid-icon" href="{{AppURL}}fluidicon.png" title="Gitote">
+	<link rel="search" type="application/opensearchdescription+xml" href="/search.xml" title="Gitote">
 
 	<script>
 	if ('serviceWorker' in navigator) {
 		window.addEventListener('load', function() {
 			navigator.serviceWorker.register('/serviceworker.js').then(function(registration) {
 				console.log('ServiceWorker registration successful with scope: ', registration.scope);
-				console.log('{{AppName}} 💖\'s web️')
+				console.log('Gitote 💖\'s web️')
 			}, function(err) {
 				console.log('ServiceWorker registration failed: ', err);
 			});
@@ -77,12 +77,12 @@
 
 	{{if not .IsLogged}}
 		{{if .PageIsHome}}
-			<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}} | {{.i18n.Tr "app_desc"}}</title>
+			<title>{{if .Title}}{{.Title}} - {{end}}Gitote | {{.i18n.Tr "app_desc"}}</title>
 		{{else}}
-			<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
+			<title>{{if .Title}}{{.Title}} - {{end}}Gitote</title>
 		{{end}}
 	{{else}}
-		<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
+		<title>{{if .Title}}{{.Title}} - {{end}}Gitote</title>
 	{{end}}
 
 	<meta name="theme-color" content="#1e2327">

+ 10 - 10
templates/base/meta.tmpl

@@ -11,9 +11,9 @@
 
 <meta name="title" content="{{.Owner.Name}}{{if .Owner.FullName}} ({{.Owner.FullName}}){{end}}">
 <meta name="description" content="{{.Owner.Name}} has {{.Owner.NumRepos}} repositories available. Follow their code on Gitote.">
-<meta name="keywords" content="{{AppName}}, {{.Owner.Name}}, {{.Owner.FullName}}">
+<meta name="keywords" content="Gitote, {{.Owner.Name}}, {{.Owner.FullName}}">
 
-<meta property="og:site_name" content="{{AppName}}" />
+<meta property="og:site_name" content="Gitote" />
 <meta property="og:url" content="{{.Owner.HTMLURL}}" />
 <meta property="og:type" content="profile" />
 <meta property="og:title" content="{{.Owner.Name}}{{if .Owner.FullName}} ({{.Owner.FullName}}){{end}}">
@@ -30,7 +30,7 @@
 <meta name="title" content="{{.Title}} · Issue #{{.Issue.Index}} · {{.Repository.FullName}}">
 <meta name="description" content="{{if .Issue.RenderedContent}}{{IssueDesc .Issue.RenderedContent|Str2html}}{{end}}">
 
-<meta property="og:site_name" content="{{AppName}}" />
+<meta property="og:site_name" content="Gitote" />
 <meta property="og:url" content="{{$.Link}}/{{.Index}}" />
 <meta property="og:type" content="object" />
 <meta property="og:title" content="{{.Title}} · Issue #{{.Issue.Index}} · {{.Repository.FullName}}">
@@ -46,9 +46,9 @@
 
 <meta name="title" content="{{.Repository.FullName}}">
 <meta name="description" content="{{.Repository.Description}}">
-<meta name="keywords" content="{{AppName}}, {{.Owner.Name}}, {{.Owner.FullName}}, {{.RepoName}}, {{.Owner.Name}}/{{.RepoName}}">
+<meta name="keywords" content="Gitote, {{.Owner.Name}}, {{.Owner.FullName}}, {{.RepoName}}, {{.Owner.Name}}/{{.RepoName}}">
 
-<meta property="og:site_name" content="{{AppName}}" />
+<meta property="og:site_name" content="Gitote" />
 <meta property="og:url" content="{{.Repository.HTMLURL}}" />
 <meta property="og:type" content="object" />
 <meta property="og:title" content="{{.Repository.FullName}}">
@@ -62,19 +62,19 @@
 
 {{else}}
 
-<meta name="title" content="{{if .IsLogged}}{{.Title}}{{else}}{{if .Title}}{{.Title}} - {{end}}{{AppName}} | {{.i18n.Tr "app_desc"}}{{end}}">
+<meta name="title" content="{{if .IsLogged}}{{.Title}}{{else}}{{if .Title}}{{.Title}} - {{end}}Gitote | {{.i18n.Tr "app_desc"}}{{end}}">
 <meta name="description" content="{{.i18n.Tr "description"}}">
-<meta name="keywords" content="{{AppName}}, developer, git, vcs">
+<meta name="keywords" content="Gitote, developer, git, vcs">
 
 <meta property="og:url" content="{{AppURL}}" />
 <meta property="og:type" content="website" />
-<meta property="og:title" content="{{if .IsLogged}}{{.Title}}{{else}}{{if .Title}}{{.Title}} - {{end}}{{AppName}} | {{.i18n.Tr "app_desc"}}{{end}}">
+<meta property="og:title" content="{{if .IsLogged}}{{.Title}}{{else}}{{if .Title}}{{.Title}} - {{end}}Gitote | {{.i18n.Tr "app_desc"}}{{end}}">
 <meta property="og:description" content="{{.i18n.Tr "description"}}">
 <meta property="og:image" content="{{AppURL}}og.png" />
-<meta property="og:site_name" content="{{AppName}}">
+<meta property="og:site_name" content="Gitote">
 
 <meta property="twitter:card" content="summary" />
-<meta property="twitter:title" content="{{if .IsLogged}}{{.Title}}{{else}}{{if .Title}}{{.Title}} - {{end}}{{AppName}} | {{.i18n.Tr "app_desc"}}{{end}}">
+<meta property="twitter:title" content="{{if .IsLogged}}{{.Title}}{{else}}{{if .Title}}{{.Title}} - {{end}}Gitote | {{.i18n.Tr "app_desc"}}{{end}}">
 <meta property="twitter:description" content="{{.i18n.Tr "description"}}">
 <meta property="twitter:image" content="{{AppURL}}og.png" />
 

+ 1 - 1
templates/explore/home.tmpl

@@ -55,7 +55,7 @@
         <div class="ui container center">
             <form class="ui form" action="{{AppSubURL}}/explore/repos" method="get">
                 <div class="ui fluid action input">
-                    <input type="text" name="q" placeholder="Search {{AppName}}" required autofocus>
+                    <input type="text" name="q" placeholder="Search Gitote" required autofocus>
                     <button class="ui blue button">{{.i18n.Tr "explore.search"}}</button>
                 </div>
             </form>

+ 5 - 5
templates/home.tmpl

@@ -8,10 +8,10 @@
 				</div>
 				<div class="hero">
 					<h1 class="ui icon header title">
-						{{AppName}}
+						Gitote
 					</h1>
 					<h2>{{.i18n.Tr "app_desc"}}</h2>
-					<h3 class="desc">{{AppName}} is one of the code hosts in the world with many projects. Private, public, or open source, all repositories are equipped with tools to help you host, version, and release code.</h3>
+					<h3 class="desc">Gitote is one of the code hosts in the world with many projects. Private, public, or open source, all repositories are equipped with tools to help you host, version, and release code.</h3>
 					<a href="{{AppURL}}login">
 						<button class="ui green button home-main home btn">
 							🔑 Sign in
@@ -46,7 +46,7 @@
 				<h2 class="ui icon header">
 					Manage your chaos
 				</h2>
-				<p>Take a deep breath. On {{AppName}}, project management happens in Issues and Projects, right alongside your code. All you have to do is invite a teammate to get them involved.</p>
+				<p>Take a deep breath. On Gitote, project management happens in Issues and Projects, right alongside your code. All you have to do is invite a teammate to get them involved.</p>
 				<a class="ui large button" href="#">Project Management</a>
 			</div>
 		</div>
@@ -82,7 +82,7 @@
 			</h1>
 			<div class="ui stackable center aligned vertically padded grid">
 				<div class="eight wide column">
-					<p>{{AppName}} brings teams together to work through problems, move ideas forward, and learn from each other along the way.</p>
+					<p>Gitote brings teams together to work through problems, move ideas forward, and learn from each other along the way.</p>
 					<a class="ui large green basic button" href="{{AppURL}}join">
 						Sign up your team
 						<i class="right chevron icon"></i>
@@ -97,7 +97,7 @@
   	<div class="ui center aligned grid container">
 		<div class="column">
 			<h1 class="ui header">
-				Get started for free — join with developers already using {{AppName}} to share their code, work together, and build amazing things.
+				Get started for free — join with developers already using Gitote to share their code, work together, and build amazing things.
 			</h1>
 			<a class="ui positive huge button" href="{{AppURL}}join">
 				Register

+ 1 - 1
templates/install.tmpl

@@ -8,7 +8,7 @@
 			<div class="ui attached segment">
 				{{template "base/alert" .}}
 
-				<p>Install {{AppName}} on the Server</p>
+				<p>Install Gitote on the Server</p>
 
 				<form class="ui form" action="{{AppSubURL}}/install" method="post">
 					<!-- Dtabase Settings -->