This commit separates the copy tag type label into its own span with a
new class "copy_tag_type_label", so that libraries can hide it or style
it differently. Release notes are included.
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
<tr class="copy_tag_row">
<td> </td>
<td class="copy_tag" colspan="4">
+ <span class="copy_tag_type_label">[% tag.tag_type.label _ ": " | html %]</span>
<span class="copy_tag_value">
[% IF tag.url %]
<a href="[% tag.url | html %]">
[% END %]
- [% tag.tag_type.label _ ": " _ tag.value | html %]
+ [% tag.value | html %]
[% IF tag.url %]
</a>
[% END %]
--- /dev/null
+Item Tags Now Display Tag Type Labels
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+When item tags display in the catalog, they will now include the label from the
+item tag type. For example, for a tag of type "Digital Bookplate", here is a
+comparison of the old and new display:
+
+ * Old output: "(Tag Value Here)"
+ * New output: "Digital Bookplate: (Tag Value Here)"
+
+The type label is wrapped in a new CSS class `copy_tag_type_label` that allows
+it to be styled separately from the tag value or hidden entirely.
+