+ Patch: 0002-starttls-support-via-SMTP_STARTTLS-provide-additiona.patch + Patch: 0001-Do-not-assume-there-is-a-SMTP_STARTTLS-configuration.patch - Backport fix for docs repo access grant + Patch: 0001-Fix-repotype-spelling.patch - Backport fix for visual bug on API docs formatting + Patch: 0001-api-fix-apidoc-format-on-api_view_issues_history_det.patch - Backport fix to changing pull mirror settings + Patch: 0001-Allow-editing-the-URL-a-project-is-mirrored-from.patch - Backport fix to add descriptions to API scopes + Patch: 0001-Show-the-ACL-name-in-addition-to-the-description-whe.patch - Backport fix to make heatmap UI functional again + Patch: 0001-Bring-back-JS-library-used-for-the-heatmap.patch - Backport fix for handling headers + Patch: 0001-Ensure-the-title-name-of-the-headers-are-strings.patch - Backport fix for burndown graph title + Patch: 0001-Fix-the-title-of-the-graph-showing-the-evolution-of-.patch - Backport fix for permissions on authorized_keys file + Patch: 0001-Make-sure-authorized_keys-file-has-mode-600.patch - Add patch to use whitenoise for rendering static assets + Patch: 0101-Use-WhiteNoise-to-serve-static-assets-for-the-Pagure.patch - Refresh default configuration patch + Patch: pagure-5.0-default-example-cfg.patch OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/pagure?expand=0&rev=39
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From 98d320cad34ed2defadeb4828a9d5d7690a06ffd Mon Sep 17 00:00:00 2001
|
|
From: Pierre-Yves Chibon <pingou@pingoured.fr>
|
|
Date: Sun, 31 May 2020 21:16:36 +0200
|
|
Subject: [PATCH] Show the ACL name in addition to the description when
|
|
creating API tokens
|
|
|
|
So in addition to the description of the ACL, we will now show the
|
|
actual name of the ACL, which hopefully will help people when they
|
|
meet documentation that says: create a token with the update_issue ACL.
|
|
|
|
Relates to https://pagure.io/pagure/issue/4765
|
|
|
|
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
|
|
---
|
|
pagure/templates/add_token.html | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/pagure/templates/add_token.html b/pagure/templates/add_token.html
|
|
index 02f5a80a..bf8a571b 100644
|
|
--- a/pagure/templates/add_token.html
|
|
+++ b/pagure/templates/add_token.html
|
|
@@ -44,7 +44,7 @@
|
|
<label class="c-input c-checkbox">
|
|
<input type="checkbox" name="acls" value="{{ acl.name }}">
|
|
<span class="c-indicator"></span>
|
|
- {{ acl.description }}
|
|
+ {{ acl.description }} <span class="small">({{ acl.name }})</span>
|
|
</label>
|
|
</div>
|
|
{% endfor %}
|
|
--
|
|
2.26.1
|
|
|