Bug 21505: Box around 'Additional fields' does not contain the fields

This patch modifies the subscription detail page markup to eliminate a
confusing bordered <legend> tag. It is replaced with an <hr> to
delineate the sections and an <h3> tag to serve as the heading.

To test, apply the patch and regenerate the staff client CSS.

 - Configure one or more additional subscription fields.
 - View the detail page for a subscription and confirm that the
   "Additional fields" section is clearly labeled.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 311fe87b31)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Owen Leonard 2018-10-09 18:05:04 +00:00 committed by Martin Renvoize
parent 883672e774
commit de5e943f4b
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 3 additions and 2 deletions

View File

@ -115,11 +115,12 @@
</div>
</div>
[% IF additional_fields_for_subscription %]
[% IF additional_fields_for_subscription %]
<hr>
<div class="yui-g">
<div class="yui-u first">
<h3>Additional fields:</h3>
<div class="rows">
<legend>Additional fields:</legend>
<ol>
[% FOR field IN additional_fields_for_subscription %]
<li>