Skip to content

Commit 68a8046

Browse files
author
Stelios Malathouras
committed
- logo customisation.
- edit startpage - remove ssh key tab in user settings. - remove download button - remove urls for repos
1 parent 3bbdce2 commit 68a8046

File tree

6 files changed

+4
-17
lines changed

6 files changed

+4
-17
lines changed

options/locale/locale_en-US.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ missing_csrf = Bad Request: no CSRF token present
105105
invalid_csrf = Bad Request: Invalid CSRF token
106106

107107
[startpage]
108-
app_desc = A painless, self-hosted Git service
108+
app_desc = Git repository manager
109109
install = Easy to install
110110
install_desc = Simply <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io/en-us/install-from-binary/">run the binary</a> for your platform, ship it with <a target="_blank" rel="noopener noreferrer" href="https://github.com/go-gitea/gitea/tree/master/docker">Docker</a>, or get it <a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io/en-us/install-from-package/">packaged</a>.
111111
platform = Cross-platform

public/img/logo.png

-3.9 KB
Loading

public/img/logo.svg

Lines changed: 1 addition & 1 deletion
Loading

templates/home.tmpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
</div>
1414
</div>
1515
</div>
16+
<!--
1617
<div class="ui stackable middle very relaxed page grid">
1718
<div class="eight wide center column">
1819
<h1 class="hero ui icon header">
@@ -49,5 +50,6 @@
4950
</p>
5051
</div>
5152
</div>
53+
-->
5254
</div>
5355
{{template "base/footer" .}}

templates/repo/home.tmpl

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -109,18 +109,6 @@
109109
<!-- Only show clone panel in repository home page -->
110110
{{if eq $n 0}}
111111
<div class="ui action tiny input" id="clone-panel">
112-
{{template "repo/clone_buttons" .}}
113-
<button id="download-btn" class="ui basic jump dropdown icon button poping up" data-content="{{.i18n.Tr "repo.download_archive"}}" data-variation="tiny inverted" data-position="top right">
114-
{{svg "octicon-download"}}
115-
<div class="menu">
116-
<a class="item" href="vscode://vscode.git/clone?url={{if $.PageIsWiki}}{{$.WikiCloneLink.HTTPS}}{{else}}{{$.CloneLink.HTTPS}}{{end}}">
117-
{{.i18n.Tr "repo.clone_in_vsc"}}
118-
</a>
119-
<a class="item archive-link" data-url="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.zip">{{svg "octicon-file-zip"}}&nbsp;{{.i18n.Tr "repo.download_zip"}}</a>
120-
<a class="item archive-link" data-url="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.tar.gz">{{svg "octicon-file-zip"}}&nbsp;{{.i18n.Tr "repo.download_tar"}}</a>
121-
<a class="item archive-link" data-url="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.bundle">{{svg "octicon-package"}}&nbsp;{{.i18n.Tr "repo.download_bundle"}}</a>
122-
</div>
123-
</button>
124112
</div>
125113
{{end}}
126114
</div>

templates/user/settings/navbar.tmpl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
<a class="{{if .PageIsSettingsApplications}}active{{end}} item" href="{{AppSubUrl}}/user/settings/applications">
1313
{{.i18n.Tr "settings.applications"}}
1414
</a>
15-
<a class="{{if .PageIsSettingsKeys}}active{{end}} item" href="{{AppSubUrl}}/user/settings/keys">
16-
{{.i18n.Tr "settings.ssh_gpg_keys"}}
17-
</a>
1815
<a class="{{if .PageIsSettingsOrganization}}active{{end}} item" href="{{AppSubUrl}}/user/settings/organization">
1916
{{.i18n.Tr "settings.organization"}}
2017
</a>

0 commit comments

Comments
 (0)