manager: page subslug style (#53221)
gitea-wip/combo/pipeline/head Build started... Details
gitea/combo/pipeline/head Build started... Details

This commit is contained in:
Lauréline Guérin 2021-04-23 10:48:43 +02:00
parent 03f1ac9cd0
commit a71c673437
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
2 changed files with 6 additions and 1 deletions

View File

@ -11,6 +11,11 @@ div.page-options label {
font-weight: bold;
}
div.page-options span.subslug {
font-style: italic;
background-color: #eee;
}
div.placeholder {
margin-bottom: 2em;
}

View File

@ -37,7 +37,7 @@
<p>
<label>{% trans 'Slug:' %}</label>
<tt>{{ object.slug }}{% if object.sub_slug %}/{{ object.sub_slug }}{% endif %}</tt>
<tt>{{ object.slug }}{% if object.sub_slug %}/<span class="subslug">{{ object.sub_slug }}</span>{% endif %}</tt>
(<a rel="popup" href="{% url 'combo-manager-page-edit-slug' pk=object.id %}">{% trans 'change' %}</a>)
</p>