diff --git a/root/static/css/style.css b/root/static/css/style.css index 415ec984..ef43ac18 100644 --- a/root/static/css/style.css +++ b/root/static/css/style.css @@ -173,7 +173,7 @@ main a[href]:active { color: #333333; } -a.btn-secondary { +a.btn-secondary, a.btn-primary { color: #fff !important; } diff --git a/root/templates/browse/recipe/show.tt b/root/templates/browse/recipe/show.tt index a7a7db38..c8b1ad27 100644 --- a/root/templates/browse/recipe/show.tt +++ b/root/templates/browse/recipe/show.tt @@ -1,17 +1,21 @@ [% escape_title( 'Recipe', recipe.name ) %] -[% IF project_url %] -

- from project [% recipe.project.name | html %] - [% IF import_url %] -

- -
+
+
+ [% IF project_url %] +

from project [% recipe.project.name | html %]

+ [% IF import_url %] +
+ +
+ [% END %] + [% ELSE %] +

from a private project

[% END %] -

-[% ELSE %] -

from a private project

-[% END %] +
+
Servings: diff --git a/root/templates/recipe/edit.tt b/root/templates/recipe/edit.tt index ebe9a7dd..5aef54bc 100644 --- a/root/templates/recipe/edit.tt +++ b/root/templates/recipe/edit.tt @@ -3,8 +3,11 @@
+ + Used in [% dishes.size %] dish[% IF dishes.size != 1 %]es[% END %] + [% IF import_url %] - + @@ -82,7 +85,7 @@ [% INCLUDE 'includes/forms/ingredients_add.tt' %] -

Where [% recipe.name | html %] is used

+

Where [% recipe.name | html %] is used

    [% FOR dish IN dishes %] diff --git a/root/templates/wrapper.tt b/root/templates/wrapper.tt index 1eb68bb3..e1407da9 100644 --- a/root/templates/wrapper.tt +++ b/root/templates/wrapper.tt @@ -131,7 +131,7 @@ END %]
    -
    +

    [% name | html; IF project %]: [% project.name | html; END %]