From 626aae40b9407a1b044c33784dfd42dff784ad9c Mon Sep 17 00:00:00 2001 From: Felix Hammerl Date: Mon, 21 Mar 2016 12:09:54 +0100 Subject: Issue #649: Refactor Tags --- web-ui/app/templates/mails/draft.hbs | 2 +- web-ui/app/templates/mails/full_view.hbs | 32 ++++++++++++++++---------------- web-ui/app/templates/mails/sent.hbs | 14 ++++++-------- web-ui/app/templates/mails/single.hbs | 14 ++++++-------- web-ui/app/templates/mails/trash.hbs | 14 ++++++-------- 5 files changed, 35 insertions(+), 41 deletions(-) (limited to 'web-ui/app/templates/mails') diff --git a/web-ui/app/templates/mails/draft.hbs b/web-ui/app/templates/mails/draft.hbs index 82533ac4..675f1481 100644 --- a/web-ui/app/templates/mails/draft.hbs +++ b/web-ui/app/templates/mails/draft.hbs @@ -19,7 +19,7 @@ {{t 'no_recipient'}} {{/if}} -
+
{{#if header.subject }} {{header.subject}} diff --git a/web-ui/app/templates/mails/full_view.hbs b/web-ui/app/templates/mails/full_view.hbs index 0bc9d999..4c0863de 100644 --- a/web-ui/app/templates/mails/full_view.hbs +++ b/web-ui/app/templates/mails/full_view.hbs @@ -42,24 +42,24 @@ -
-
    - - {{#each tags }} -
  • {{ this }}
  • - {{/each }} +
      +
    • + +
    • -
    • - -
    • + {{#each tags }} +
    • {{ this }}
    • + {{/each }} -
    • - -
    • -
    -
+
  • + +
  • + +
  • + +
  • + diff --git a/web-ui/app/templates/mails/sent.hbs b/web-ui/app/templates/mails/sent.hbs index b3cf110f..86b6e607 100644 --- a/web-ui/app/templates/mails/sent.hbs +++ b/web-ui/app/templates/mails/sent.hbs @@ -19,19 +19,17 @@ {{t 'no_recipient'}} {{/if}}
    -
    +
    {{#if header.subject }} {{header.subject}} {{else}} {{t 'no_subject'}} {{/if}}
    -
    -
      - {{#each tagsForListView }} -
    • {{ this }}
    • - {{/each }} -
    -
    +
      + {{#each tagsForListView }} +
    • {{ this }}
    • + {{/each }} +
    diff --git a/web-ui/app/templates/mails/single.hbs b/web-ui/app/templates/mails/single.hbs index 47d600fb..95f9adb7 100644 --- a/web-ui/app/templates/mails/single.hbs +++ b/web-ui/app/templates/mails/single.hbs @@ -11,15 +11,13 @@ {{/if}}
    {{#if header.from }}{{ header.from }}{{else}}{{t "you"}}{{/if}}
    -
    +
    {{ header.subject }}
    -
    -
      - {{#each tagsForListView }} -
    • {{ this }}
    • - {{/each }} -
    -
    +
      + {{#each tagsForListView }} +
    • {{ this }}
    • + {{/each }} +
    diff --git a/web-ui/app/templates/mails/trash.hbs b/web-ui/app/templates/mails/trash.hbs index 4475aeb0..ea8fe07f 100644 --- a/web-ui/app/templates/mails/trash.hbs +++ b/web-ui/app/templates/mails/trash.hbs @@ -11,16 +11,14 @@ {{/if}}
    {{#if header.from }}{{ header.from }}{{else}}{{t "you"}}{{/if}}
    -
    +
    {{ header.subject }}
    -
    -
      - {{#each tagsForListView }} -
    • {{ this }}
    • - {{/each }} -
    -
    +
      + {{#each tagsForListView }} +
    • {{ this }}
    • + {{/each }} +
    -- cgit v1.2.3