incubator-bloodhound-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrej Golcov <and...@digiverse.si>
Subject Re: [Apache Bloodhound] #207: Incorrect bold font weight for label of radio ticket field
Date Tue, 13 Nov 2012 12:45:24 GMT
Hi,

It looks like labels for ticket custom radio field were not rendered inside
<label> tag in bloodhound theme.
Is there any reason for this?
If not, I suggest the following patch.

Regards, Andrej

===================================================================
--- bloodhound_theme/bhtheme/templates/bh_ticket.html (revision 1408673)
+++ bloodhound_theme/bhtheme/templates/bh_ticket.html (working copy)
@@ -369,7 +369,7 @@
                                 py:with="value =
ticket.get_value_or_default(field.name)">
                           <th class="col${idx + 1}" py:if="idx == 0 or not
fullrow">
                             <label for="field-${field.name}" py:if="field"
-                                   py:strip="field.type == 'radio'"
i18n:msg="field">${
+                                   i18n:msg="field">${
                               field.edit_label or field.label or field.name
}:</label>
                           </th>
                           <td class="col${idx + 1}" py:if="idx == 0 or not
fullrow"

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message