summaryrefslogtreecommitdiffstats
path: root/templates/repo/settings
diff options
context:
space:
mode:
authorDavid Svantesson <davidsvantesson@gmail.com>2020-01-08 01:36:39 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2020-01-08 08:36:39 +0800
commitc181070f9e538e295134bf3a798dc45862810726 (patch)
treea7fd9aef485ea4847f11f0b97d7e3aab3b006de6 /templates/repo/settings
parent1e9b3d4743dc3b1726470a2316b7608427ec5635 (diff)
downloadgitea-c181070f9e538e295134bf3a798dc45862810726.tar.gz
gitea-c181070f9e538e295134bf3a798dc45862810726.zip
Repository teams - disable remove button when have access to all (#9640)
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates/repo/settings')
-rw-r--r--templates/repo/settings/collaboration.tmpl5
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/repo/settings/collaboration.tmpl b/templates/repo/settings/collaboration.tmpl
index c0b444dce3..f6234f94a0 100644
--- a/templates/repo/settings/collaboration.tmpl
+++ b/templates/repo/settings/collaboration.tmpl
@@ -79,9 +79,8 @@
{{end}}
</div>
{{if $allowedToChangeTeams}}
- {{ $globalRepoAccess := (eq .LowerName "owners") }}
- <div class="ui two wide column {{if $globalRepoAccess}}poping up{{end}}" {{if $globalRepoAccess}}data-content="This team has access to all repositories and can't be removed."{{end}}>
- <button class="ui red tiny button inline text-thin delete-button {{if $globalRepoAccess}}disabled{{end}}" data-url="{{$.Link}}/team/delete" data-id="{{.ID}}">
+ <div class="ui two wide column {{if .IncludesAllRepositories}}poping up{{end}}" {{if .IncludesAllRepositories}}data-content="This team has access to all repositories and can't be removed."{{end}}>
+ <button class="ui red tiny button inline text-thin delete-button {{if .IncludesAllRepositories}}disabled{{end}}" data-url="{{$.Link}}/team/delete" data-id="{{.ID}}">
{{$.i18n.Tr "repo.settings.delete_collaborator"}}
</button>
</div>
value='backport/40394/stable27'>backport/40394/stable27 Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/l10n/he.js
blob: 04681096101441104d4b22641185414c4f7f365e (plain)
1
2
3
4
5
6
7
8
9
OC.L10N.register(
    "updatenotification",
    {
    "{version} is available. Get more information on how to update." : "{version} זמינה. ניתן לקבל מידע נוסף על איך לעדכן.",
    "Updater" : "מעדכן",
    "For security reasons the built-in ownCloud updater is using additional credentials. To visit the updater page please click the following button." : "מסיבות הבטחה מעדכן ה- ownCloud המובנה משתמש באימות נוסף. לביקור בעמוד העדכון יש ללחוץ על הכפתור הבא.",
    "Open updater" : "פתיחת מעדכן"
},
"nplurals=2; plural=(n != 1);");