# HG changeset patch # User neko259 # Date 2015-11-26 14:44:01 # Node ID b362e5ab94e1d6170e0710e7ae11dd9a0cfb2417 # Parent 09378fcce9ed4eb7b79e77c7059b12d5c04bb632 User join filter for authors role list diff --git a/boards/static/css/md/base_page.css b/boards/static/css/md/base_page.css --- a/boards/static/css/md/base_page.css +++ b/boards/static/css/md/base_page.css @@ -388,10 +388,6 @@ li { color: #ccc; } -.role { - text-decoration: underline; -} - .form-email { display: none; } diff --git a/boards/static/css/pg/base_page.css b/boards/static/css/pg/base_page.css --- a/boards/static/css/pg/base_page.css +++ b/boards/static/css/pg/base_page.css @@ -302,10 +302,6 @@ input[type="submit"]:hover { color: #555; } -.role { - text-decoration: underline; -} - .form-email { display: none; } diff --git a/boards/static/css/sw/base_page.css b/boards/static/css/sw/base_page.css --- a/boards/static/css/sw/base_page.css +++ b/boards/static/css/sw/base_page.css @@ -279,10 +279,6 @@ li { color: #ccc; } -.role { - text-decoration: underline; -} - .form-email { display: none; } diff --git a/boards/templates/boards/authors.html b/boards/templates/boards/authors.html --- a/boards/templates/boards/authors.html +++ b/boards/templates/boards/authors.html @@ -19,10 +19,7 @@ {% for value in values.contacts %} {{ value }} {% endfor %} - - {% for role in values.roles %} - {% trans role %} - {% if not forloop.last %}, {% endif %} - {% endfor %} + {{ values.roles|join:', ' }}

{% endfor %}