diff --git a/ihatemoney/static/css/main.css b/ihatemoney/static/css/main.css index cf47fddec..7d91c38df 100644 --- a/ihatemoney/static/css/main.css +++ b/ihatemoney/static/css/main.css @@ -549,6 +549,13 @@ footer .icon svg { fill: white; } +.icon.icon-red { + fill: #dc3545; +} +.btn:hover .icon.icon-red { + fill: white !important; +} + /* align the first column */ #monthly_stats tr *:first-child { text-align: right; diff --git a/ihatemoney/static/images/x.svg b/ihatemoney/static/images/x.svg new file mode 100644 index 000000000..3416d7afc --- /dev/null +++ b/ihatemoney/static/images/x.svg @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/ihatemoney/templates/history.html b/ihatemoney/templates/history.html index 58f6c6b95..875040e4e 100644 --- a/ihatemoney/templates/history.html +++ b/ihatemoney/templates/history.html @@ -38,6 +38,49 @@ {{ _("to") }} {{ event.val_after }} {% endmacro %} +{% macro clear_history_modals() %} + +
{{ _("The table below reflects actions recorded prior to disabling project history. You can ") }} {{ _("clear project history") }} {{ _("to remove them.") }}
- -{{ _("Some entries below contain IP addresses, even though this project has IP recording disabled. ") }} - {{ _(" Delete stored IP addresses ") }}
- -