Emphasize source column labels

Use the same CSS style as the view's extra_columns.

Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-07-12 04:38:06 -04:00
parent c44090aca6
commit ed227b4111
2 changed files with 5 additions and 1 deletions

View File

@@ -216,6 +216,10 @@ a i {
font-weight: bold;
}
.source-column-label {
font-weight: bold;
}
/* Content */
@media (min-width:1200px) {
.container-fluid {

View File

@@ -86,7 +86,7 @@
{% if not hide_columns %}
{% navigation_get_source_columns source=object exclude_identifier=True as source_columns %}
{% for column in source_columns %}
<div class="text-center" style="">{% navigation_source_column_resolve column=column as column_value %}{% if column_value != '' %}{% if column.include_label %}{{ column.label }}: {% endif %}{{ column_value }}{% endif %}</div>
<div class="text-center" style="">{% navigation_source_column_resolve column=column as column_value %}{% if column_value != '' %}{% if column.include_label %}<span class="source-column-label">{{ column.label }}</span>: {% endif %}{{ column_value }}{% endif %}</div>
{% endfor %}
{% endif %}