Skip to content

Commit b7f0aa7

Browse files
committed
if no model description, output model_name
1 parent 2ca5e7c commit b7f0aa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/assets/javascripts/templates/entries/index.html.slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
.widget
44
.widget-header
55
i.fa.fa-list
6-
| {{ model.description }}
6+
| {{ model.description || model.kms_model_name }}
77
a.btn.btn-sm.btn-primary.pull-right ui-sref="models.entries.new({modelId: model.id})"
88
= I18n.t("add_entry")
99
.widget-body.no-padding

0 commit comments

Comments
 (0)