summaryrefslogtreecommitdiff
path: root/client/html
diff options
context:
space:
mode:
authorHunternif <hunternif@gmail.com>2019-04-24 01:14:41 +0700
committerHunternif <hunternif@gmail.com>2019-04-24 01:22:05 +0700
commitcb1840b0c09e7014ce264d95c469e9d0d1bfd55f (patch)
treea6dd024f5a608bd8bbb2dae2b286c1c1cab0d231 /client/html
parentfba3a659e037e9c30e1a0ceb268809b6445c4528 (diff)
client: button to remove post metrics
Diffstat (limited to 'client/html')
-rw-r--r--client/html/compact_post_metric_list_item.tpl1
-rw-r--r--client/html/compact_post_metric_range_list_item.tpl1
2 files changed, 2 insertions, 0 deletions
diff --git a/client/html/compact_post_metric_list_item.tpl b/client/html/compact_post_metric_list_item.tpl
index 75b5d81..b0dca33 100644
--- a/client/html/compact_post_metric_list_item.tpl
+++ b/client/html/compact_post_metric_list_item.tpl
@@ -1,5 +1,6 @@
<li><!--
--><% if (ctx.editMode) { %><!--
+ --><a class='remove-metric' data-pseudo-content='×'/><!--
--><a href="<%- ctx.formatClientLink('posts', {
query: 'metric-' + ctx.escapeColons(ctx.postMetric.tagName) +
':' + ctx.postMetric.value
diff --git a/client/html/compact_post_metric_range_list_item.tpl b/client/html/compact_post_metric_range_list_item.tpl
index 4768935..96661ce 100644
--- a/client/html/compact_post_metric_range_list_item.tpl
+++ b/client/html/compact_post_metric_range_list_item.tpl
@@ -1,5 +1,6 @@
<li><!--
--><% if (ctx.editMode) { %><!--
+ --><a class='remove-metric' data-pseudo-content='×'/><!--
--><a href="<%- ctx.formatClientLink('posts', {
query: 'metric-' + ctx.escapeColons(ctx.postMetricRange.tagName) +
':' + ctx.postMetricRange.low + '..' + ctx.postMetricRange.high