diff options
author | jessib <jessib@riseup.net> | 2012-11-09 13:39:59 -0800 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2012-11-09 13:39:59 -0800 |
commit | 90af08d51eb24202bd703bfdfa1d2811fa26a5e0 (patch) | |
tree | aa7346d9d14ce26478c7ef3118685e6c24091fd1 /app | |
parent | 215a3a0abce42a1f6d303302763c1d4081cc4685 (diff) |
Various very small tweaks: comments about main div display in firefox, give info for when creating unauthenticated tickets, redirecting to index when closing a ticket, fix default select for ticket filtering.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/home/index.html.haml | 11 | ||||
-rw-r--r-- | app/views/layouts/application.html.haml | 2 |
2 files changed, 8 insertions, 5 deletions
diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 9e68674..dd7e5aa 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -1,11 +1,14 @@ +%h1 spacer for firefox +%h1 spacer for firefox Try to fetch a = link_to "cert", cert_path %p -Try to create a +Create a = link_to "ticket", new_ticket_path -%p -See all -= link_to "tickets", tickets_path +- if logged_in? + %p + See all + = link_to "tickets", tickets_path diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index e6d22f0..e3b7977 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -18,6 +18,6 @@ .content .row .span12 - = render 'layouts/messages' + = render 'layouts/messages' # TODO: In firefox, these are hidden by header = yield %footer |