You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: options/locale/locale_en-US.ini
+16
Original file line number
Diff line number
Diff line change
@@ -542,6 +542,10 @@ forks = Forks
542
542
pick_reaction = Pick your reaction
543
543
reactions_more = and %d more
544
544
545
+
archive.title = This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
546
+
archive.issue.nocomment = This repo is archived. You cannot comment on issues.
547
+
archive.pull.nocomment = This repo is archived. You cannot comment on pull requests.
548
+
545
549
form.reach_limit_of_creation = You have already reached your limit of %d repositories.
546
550
form.name_reserved = The repository name '%s' is reserved.
547
551
form.name_pattern_not_allowed = The pattern '%s' is not allowed in a repository name.
@@ -1176,6 +1180,18 @@ settings.choose_branch = Choose a branch…
1176
1180
settings.no_protected_branch = There are no protected branches.
1177
1181
settings.edit_protected_branch = Edit
1178
1182
settings.protected_branch_required_approvals_min = Required approvals cannot be negative.
1183
+
settings.archive.button = Archive Repo
1184
+
settings.archive.header = Archive This Repo
1185
+
settings.archive.text = Archiving the repo will make it entirely read-only. It is hidden from the dashboard, cannot be committed to and no issues or pull-requests can be created.
1186
+
settings.archive.success = The repo was successfully archived.
1187
+
settings.archive.error = An error occured while trying to archive the repo. See the log for more details.
1188
+
settings.archive.error_ismirror = You cannot archive a mirrored repo.
1189
+
settings.archive.branchsettings_unavailable = Branch settings are not available if the repo is archived.
1190
+
settings.unarchive.button = Un-Archive Repo
1191
+
settings.unarchive.header = Un-Archive This Repo
1192
+
settings.unarchive.text = Un-Archiving the repo will restore its ability to recieve commits and pushes, as well as new issues and pull-requests.
1193
+
settings.unarchive.success = The repo was successfully un-archived.
1194
+
settings.unarchive.error = An error occured while trying to un-archive the repo. See the log for more details.
Copy file name to clipboardexpand all lines: templates/repo/issue/list.tmpl
+9-7
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,15 @@
9
9
<div class="column center aligned">
10
10
{{template "repo/issue/search" .}}
11
11
</div>
12
-
<div class="column right aligned">
13
-
{{if .PageIsIssueList}}
14
-
<a class="ui green button" href="{{.RepoLink}}/issues/new">{{.i18n.Tr "repo.issues.new"}}</a>
15
-
{{else}}
16
-
<a class="ui green button {{if not .PullRequestCtx.Allowed}}disabled{{end}}" href="{{if .PullRequestCtx.Allowed}}{{.PullRequestCtx.BaseRepo.Link}}/compare/{{.Repository.DefaultBranch}}...{{.PullRequestCtx.HeadInfo}}{{end}}">{{.i18n.Tr "repo.pulls.new"}}</a>
17
-
{{end}}
18
-
</div>
12
+
{{if not .Repository.IsArchived}}
13
+
<div class="column right aligned">
14
+
{{if .PageIsIssueList}}
15
+
<a class="ui green button" href="{{.RepoLink}}/issues/new">{{.i18n.Tr "repo.issues.new"}}</a>
16
+
{{else}}
17
+
<a class="ui green button {{if not .PullRequestCtx.Allowed}}disabled{{end}}" href="{{if .PullRequestCtx.Allowed}}{{.PullRequestCtx.BaseRepo.Link}}/compare/{{.Repository.DefaultBranch}}...{{.PullRequestCtx.HeadInfo}}{{end}}">{{.i18n.Tr "repo.pulls.new"}}</a>
0 commit comments