Rename 'published' to 'public' (for recipe)
This commit is contained in:
parent
eaef6dc77e
commit
4f739593b8
20 changed files with 92 additions and 91 deletions
|
|
@ -15,25 +15,25 @@
|
|||
{% endmacro %}
|
||||
|
||||
<div id="recipes-list">
|
||||
{% if !recipes.unpublished.is_empty() %}
|
||||
{{ context.tr.t(Sentence::UnpublishedRecipes) }}
|
||||
{% if !recipes.private.is_empty() %}
|
||||
{{ context.tr.t(Sentence::PrivateRecipes) }}
|
||||
{% endif %}
|
||||
|
||||
<nav class="recipes-list-unpublished">
|
||||
<nav class="recipes-list-private">
|
||||
<ul>
|
||||
{% for (id, title) in recipes.unpublished %}
|
||||
{% for (id, title) in recipes.private %}
|
||||
{% call recipe_item(id, title, recipes.is_current(id)) %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
{% if !recipes.unpublished.is_empty() %}
|
||||
{% if !recipes.private.is_empty() %}
|
||||
<hr>
|
||||
{% endif %}
|
||||
|
||||
<nav class="recipes-list-published">
|
||||
<nav class="recipes-list-public">
|
||||
<ul>
|
||||
{% for (id, title) in recipes.published %}
|
||||
{% for (id, title) in recipes.public %}
|
||||
{% call recipe_item(id, title, recipes.is_current(id)) %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue