diff options
Diffstat (limited to 'hyperkitty')
-rw-r--r-- | hyperkitty/lib/archiver.py | 1 | ||||
-rw-r--r-- | hyperkitty/static/css/style.css | 14 | ||||
-rw-r--r-- | hyperkitty/static/img/mail-attachment.png | bin | 0 -> 649 bytes | |||
-rw-r--r-- | hyperkitty/templates/messages/message.html | 2 |
4 files changed, 15 insertions, 2 deletions
diff --git a/hyperkitty/lib/archiver.py b/hyperkitty/lib/archiver.py index 2e21e27..bf1c1ff 100644 --- a/hyperkitty/lib/archiver.py +++ b/hyperkitty/lib/archiver.py @@ -37,7 +37,6 @@ class Archiver(object): if settings_path.endswith("/settings.py"): # we want the directory settings_path = os.path.dirname(settings_path) - settings_path = "/srv/dev/mailman/hk-app" #path_added = False if settings_path not in sys.path: #path_added = True diff --git a/hyperkitty/static/css/style.css b/hyperkitty/static/css/style.css index a8c7a16..ae32605 100644 --- a/hyperkitty/static/css/style.css +++ b/hyperkitty/static/css/style.css @@ -400,3 +400,17 @@ p.attachments { margin-bottom: 0; font-weight: bold; } +li.attachments a.attachments { + padding-left: 20px; + margin-left: 1em; + background: url("../img/mail-attachment.png") no-repeat scroll left; +} +li.attachments ul { + position: absolute; + background-color: #F6F6F6; + margin-left: 0; +} +li.attachments ul li { + list-style-position: inside; + padding-left: 0.5em; +} diff --git a/hyperkitty/static/img/mail-attachment.png b/hyperkitty/static/img/mail-attachment.png Binary files differnew file mode 100644 index 0000000..529bb7f --- /dev/null +++ b/hyperkitty/static/img/mail-attachment.png diff --git a/hyperkitty/templates/messages/message.html b/hyperkitty/templates/messages/message.html index 874a849..ae111d3 100644 --- a/hyperkitty/templates/messages/message.html +++ b/hyperkitty/templates/messages/message.html @@ -61,7 +61,7 @@ {% endif %} {% if not unfolded and email.attachments|count %} <li class="attachments"> - <a href="#attachments">{{ email.attachments|count }} attachment(s)</a> + <a class="attachments" href="#attachments">{{ email.attachments|count }} attachment(s)</a> <ul class="attachments-list"> {% for attachment in email.attachments %} <li><a href="{% url message_attachment mlist_fqdn=list_address, hashid=email.message_id_hash, counter=attachment.counter, filename=attachment.name %}">{{attachment.name}}</a> |