MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

Commit 0aa7a6aa authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

always display the memory limit

but disable the widget for non-admins
parent 06420260
......@@ -65,14 +65,12 @@
<span class="help-block"> A private app won't be display on the main page, and won't be accessible without the link. </span>
</div>
<% if current_user.admin? %>
<div class="form-group">
<%= f.label :access_token, "Memory limit", class: "col-sm-2 control-label" %>
<div class="col-sm-1"><%= text_field_tag :memory_limit_mb, @memory_limit_mb, {placeholder: "no limit", class: "form-control", style: "text-align: right"} %></div>
<div class="form-group">
<%= f.label :access_token, "Memory limit", class: "col-sm-2 control-label" %>
<div class="col-sm-1"><%= text_field_tag :memory_limit_mb, @memory_limit_mb, {placeholder: "no limit", class: "form-control", style: "text-align: right", disabled: !current_user.admin?} %></div>
<span class="help-block"> megabytes</span>
</div>
<% end %>
<span class="help-block"> megabytes</span>
</div>
<!-- <div class="form-group">
<%= f.label :default_quota, "Quota per user (in MB) ", class: "col-sm-2 control-label" %>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment