fix: string translations and background variable
This commit is contained in:
parent
b52f8ee099
commit
27126889bd
2 changed files with 4 additions and 3 deletions
|
|
@ -250,7 +250,7 @@
|
|||
}
|
||||
|
||||
.empty-state {
|
||||
background: #EBEEF0;
|
||||
background: var(--gray-200);
|
||||
border: 1px dashed #C8CFD5;
|
||||
box-sizing: border-box;
|
||||
border-radius: 8px;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{% set doctype = "Web Page" %}
|
||||
{% set empty_state_title = "No " + title %}
|
||||
{% set empty_state_subtitle = "There are no " + title.lower() + " for this " + doctype.lower() + ", why don't you start one!" %}
|
||||
{% set empty_state_title = _("No {0}").format(title) %}
|
||||
{% set empty_state_subtitle = _("There are no {0} for this {1}, why don't you start one!").format(title | lower , doctype | lower) %}
|
||||
|
||||
{% include "frappe/templates/discussions/discussions_section.html" %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue