@@ -129,7 +129,7 @@ <h3 class="card-title">
129129 < td > </ td >
130130 </ tr >
131131 < tr >
132- < td rowspan ="2 " style =" vertical-align: top; " > Upload limit</ td >
132+ < td rowspan ="2 "> Upload limit</ td >
133133 < td colspan ="3 ">
134134 {# Calculate effective limit #}
135135 {% set effective_upload_limit = MAX_FILESIZE %}
@@ -142,16 +142,16 @@ <h3 class="card-title">
142142 {% set effective_upload_limit = project.organization.upload_limit %}
143143 {% set limit_source = "organization" %}
144144 {% endif %}
145-
146- < div class ="alert alert-info " style =" margin-bottom: 10px; " >
145+
146+ < div class ="alert alert-info ">
147147 < strong > Effective limit: {{ effective_upload_limit|filesizeformat(binary=True) }}</ strong > (from {{ limit_source }})
148148 </ div >
149-
150- < table class ="table table-sm table-bordered " style =" margin-bottom: 0; " >
149+
150+ < table class ="table table-sm table-bordered ">
151151 < tr >
152- < td style =" width: 40%; " > System default:</ td >
153- < td style =" width: 30%; " > {{ MAX_FILESIZE|filesizeformat(binary=True) }}</ td >
154- < td style =" width: 30%; " > < small class ="text-muted "> Not configurable</ small > </ td >
152+ < td > System default:</ td >
153+ < td > {{ MAX_FILESIZE|filesizeformat(binary=True) }}</ td >
154+ < td > < small class ="text-muted "> Not configurable</ small > </ td >
155155 </ tr >
156156 < tr >
157157 < td > Project limit:</ td >
@@ -193,7 +193,7 @@ <h3 class="card-title">
193193 {% else %}
194194 {% set upload_limit_value = '' %}
195195 {% endif %}
196- < input type ="number " name ="upload_limit " id ="uploadLimit " class ="form-control form-control-sm mr-2 " min ="{{ MAX_FILESIZE / ONE_MIB }} " max ="{{ UPLOAD_LIMIT_CAP / ONE_MIB }} " step =1 value ="{{ upload_limit_value|int }} " style =" width: 100px; " >
196+ < input type ="number " name ="upload_limit " id ="uploadLimit " class ="form-control form-control-sm mr-2 " min ="{{ MAX_FILESIZE / ONE_MIB }} " max ="{{ UPLOAD_LIMIT_CAP / ONE_MIB }} " step =1 value ="{{ upload_limit_value|int }} ">
197197 < span class ="mr-3 "> MiB</ span >
198198 < button type ="submit " class ="btn btn-primary btn-sm "> Update</ button >
199199 {% if project.upload_limit and limit_source != "project" %}
@@ -204,7 +204,7 @@ <h3 class="card-title">
204204 </ form >
205205 </ tr >
206206 < tr >
207- < td rowspan ="2 " style =" vertical-align: top; " > Total size limit</ td >
207+ < td rowspan ="2 "> Total size limit</ td >
208208 < td colspan ="3 ">
209209 {# Calculate effective limit #}
210210 {% set effective_total_size_limit = MAX_PROJECT_SIZE %}
@@ -217,16 +217,16 @@ <h3 class="card-title">
217217 {% set effective_total_size_limit = project.organization.total_size_limit %}
218218 {% set size_limit_source = "organization" %}
219219 {% endif %}
220-
221- < div class ="alert alert-info " style =" margin-bottom: 10px; " >
220+
221+ < div class ="alert alert-info ">
222222 < strong > Effective limit: {{ effective_total_size_limit|filesizeformat(binary=True) }}</ strong > (from {{ size_limit_source }})
223223 </ div >
224-
225- < table class ="table table-sm table-bordered " style =" margin-bottom: 0; " >
224+
225+ < table class ="table table-sm table-bordered ">
226226 < tr >
227- < td style =" width: 40%; " > System default:</ td >
228- < td style =" width: 30%; " > {{ MAX_PROJECT_SIZE|filesizeformat(binary=True) }}</ td >
229- < td style =" width: 30%; " > < small class ="text-muted "> Not configurable</ small > </ td >
227+ < td > System default:</ td >
228+ < td > {{ MAX_PROJECT_SIZE|filesizeformat(binary=True) }}</ td >
229+ < td > < small class ="text-muted "> Not configurable</ small > </ td >
230230 </ tr >
231231 < tr >
232232 < td > Project limit:</ td >
@@ -268,7 +268,7 @@ <h3 class="card-title">
268268 {% else %}
269269 {% set total_size_limit_value = '' %}
270270 {% endif %}
271- < input type ="number " name ="total_size_limit " id ="totalSizeLimit " class ="form-control form-control-sm mr-2 " min ="{{ MAX_PROJECT_SIZE // ONE_GIB }} " value ="{{total_size_limit_value}} " style =" width: 100px; " >
271+ < input type ="number " name ="total_size_limit " id ="totalSizeLimit " class ="form-control form-control-sm mr-2 " min ="{{ MAX_PROJECT_SIZE // ONE_GIB }} " value ="{{total_size_limit_value}} ">
272272 < span class ="mr-3 "> GiB</ span >
273273 < button type ="submit " class ="btn btn-primary btn-sm "> Update</ button >
274274 {% if project.total_size_limit and size_limit_source != "project" %}
@@ -480,21 +480,35 @@ <h3 class="card-title">Releases</h3>
480480 < table class ="table table-hover table-striped ">
481481 < thead >
482482 < tr >
483- < th > Publisher name</ th >
483+ < th > Publisher</ th >
484+ < th > Configuration</ th >
484485 < th > URL</ th >
485- < th > repr</ th >
486486 </ tr >
487487 </ thead >
488488 < tbody >
489489 {% for pub in oidc_publishers %}
490490 < tr >
491- < td > {{ pub.publisher_name }}</ td >
492- {% if pub.publisher_url() %}
493- < td > < a href ="{{ pub.publisher_url() }} "> {{ pub.publisher_url() }}</ a > </ td >
494- {% else %}
495- < td > N/A</ td >
496- {% endif %}
497- < td > < code > {{ pub }}</ code > </ td >
491+ < td > < strong > {{ pub.publisher_name }}</ strong > </ td >
492+ < td >
493+ {% if pub.admin_details %}
494+ < dl class ="mb-0 ">
495+ {% for label, value in pub.admin_details %}
496+ < dt class ="small d-inline-block "> {{ label }}:</ dt >
497+ < dd class ="small d-inline "> < code > {{ value }}</ code > </ dd >
498+ < br >
499+ {% endfor %}
500+ </ dl >
501+ {% else %}
502+ < code > {{ pub }}</ code >
503+ {% endif %}
504+ </ td >
505+ < td >
506+ {% if pub.publisher_url() %}
507+ < a href ="{{ pub.publisher_url() }} " target ="_blank "> {{ pub.publisher_url() }}</ a >
508+ {% else %}
509+ < span class ="text-muted "> N/A</ span >
510+ {% endif %}
511+ </ td >
498512 </ tr >
499513 {% endfor %}
500514 </ tbody >
0 commit comments