File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
qgis-app/plugins/templates/plugins Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ <h2 class="title is-4">{% trans "Version" %}: {{ version }}</h2>
6767 < div class ="tabs is-toggle is-centered " id ="versiontab ">
6868 < ul >
6969 < li class ="is-active " data-tab ="1 "> < a href ="#details-tab "> {% trans "Details" %}</ a > </ li >
70+ {% if user.is_staff or user in object.editors %}
7071 < li data-tab ="2 "> < a href ="#security-tab ">
7172 < span > {% trans "Security Scan" %}</ span >
7273 {% if security_scan %}
@@ -75,6 +76,7 @@ <h2 class="title is-4">{% trans "Version" %}: {{ version }}</h2>
7576 </ span >
7677 {% endif %}
7778 </ a > </ li >
79+ {% endif %}
7880 < li data-tab ="3 "> < a href ="#manage-tab "> {% trans "Manage" %}</ a > </ li >
7981 </ ul >
8082 </ div >
@@ -157,6 +159,7 @@ <h2 class="title is-4">{% trans "Version" %}: {{ version }}</h2>
157159 </ div >
158160 </ div >
159161
162+ {% if user.is_staff or user in object.editors %}
160163 < div class ="tab-pane " id ="security-tab ">
161164
162165 {% if security_scan %}
@@ -358,6 +361,7 @@ <h5 class="title is-6 mb-3">{% trans "Detailed Check Results" %}</h5>
358361 </ div >
359362 {% endif %}
360363 </ div >
364+ {% endif %}
361365
362366 < div class ="tab-pane " id ="manage-tab ">
363367 < h4 class ="title is-6 mb-2 "> {% trans "Version management"%}</ h4 >
You can’t perform that action at this time.
0 commit comments