diff --git a/less/flags.less b/less/flags.less index ccb1d36..b1007a0 100644 --- a/less/flags.less +++ b/less/flags.less @@ -1,15 +1,7 @@ .page-flags { [component="flags/list"] { - td { - max-width: 300px; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - } - - [component="flags/list/description"] { - font-style: italic; - color: @gray-light; + tr { + .pointer; } } @@ -17,6 +9,13 @@ .pointer; } + [component="flag/reports"] { + blockquote { + margin: 0; + margin-top: 1rem; + } + } + [component="flag/notes"] { .media { padding: 1rem; diff --git a/templates/flags/detail.tpl b/templates/flags/detail.tpl index 43b5156..c06bd75 100644 --- a/templates/flags/detail.tpl +++ b/templates/flags/detail.tpl @@ -48,24 +48,17 @@
-
-
-

[[flags:reporter]]

-
- {buildAvatar(reporter, "sm", false, "media-object")} - {reporter.username} -
-
-
-

[[flags:reported-at]]

-

- {datetimeISO} -

-
-
-

[[flags:description]]

-
{description}
+

[[flags:reports]]

+

[[flags:state]]

@@ -137,10 +130,10 @@ {{{ if type_bool.post }}} {{{ if !target.deleted}}} - [[flags:delete-post]] + [[flags:delete-post]] {{{ else }}} - [[flags:purge-post]] - [[flags:restore-post]] + [[flags:purge-post]] + [[flags:restore-post]] {{{ end }}} {{{ end }}} @@ -165,18 +158,6 @@
{{{ end }}} -
- - -
-

[[flags:history]]

diff --git a/templates/flags/list.tpl b/templates/flags/list.tpl index 3510650..24b1b9c 100644 --- a/templates/flags/list.tpl +++ b/templates/flags/list.tpl @@ -30,8 +30,8 @@ [[flags:state]] - - + + @@ -49,12 +49,11 @@ [[flags:state-{../state}]] - {../target_readable}{../description} + {../target_readable} - {buildAvatar(../reporter, "sm")} - {../reporter.username} + {./heat}