diff --git a/app/Resources/views/articleInfo/result.html.twig b/app/Resources/views/articleInfo/result.html.twig index 0994d0f01..3bf12c7b0 100644 --- a/app/Resources/views/articleInfo/result.html.twig +++ b/app/Resources/views/articleInfo/result.html.twig @@ -473,13 +473,13 @@ {{ wiki.userLink(editor, project) }} - {% if enabled('ec') %} - {{ msg('tool-ec') }} - {% endif %} - · {% if enabled('topedits') %} {{ msg('tool-topedits') }} {% endif %} + · + {% if enabled('ec') %} + {{ msg('tool-ec') }} + {% endif %} {{ stats.all|num_format }} diff --git a/app/Resources/views/articleInfo/textshares.html.twig b/app/Resources/views/articleInfo/textshares.html.twig index 7ee5d6d00..2bba7eadc 100644 --- a/app/Resources/views/articleInfo/textshares.html.twig +++ b/app/Resources/views/articleInfo/textshares.html.twig @@ -48,11 +48,11 @@ {% else %} - {% for key in ['username', 'characters', 'percentage'] %} + {% for key in ['rank', 'username', 'links', 'characters', 'percentage'] %} {% endfor %} @@ -64,6 +64,7 @@ {% set totalPercentage = totalPercentage + values.percentage %} {% set totalCount = totalCount + values.count %} + + @@ -81,13 +91,15 @@ {% endfor %} {% if textshares.totalAuthors > 10 and is_sub_request == true %} - + + +
- + {{ msg(key)|capitalize_first }} - + {% if key != "links" %}{% endif %}
{{ loop.index }} @@ -71,6 +72,15 @@ {{ wiki.userLink(username, project) }} + {% if enabled('topedits') %} + {{ msg('tool-topedits') }} + {% endif %} + · + {% if enabled('ec') %} + {{ msg('tool-ec') }} + {% endif %} + {{ values.count|num_format }}
{{ (textshares.totalAuthors - 10)|num_format }} {{ msg('num-others', [textshares.totalAuthors - 10]) }} {{ (textshares.totalCount - totalCount)|num_format }}