Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: includes/subscriptionList.tmpl

Issue 29337807: Issue 3097 - Refactored subscriptions list table on adblockplus.org/en/subscriptions (Closed)
Left Patch Set: Refactored markup & styles, added rtl styles, and fixed typo. Created July 19, 2016, 10:26 p.m.
Right Patch Set: Removed extra whitespace Created July 29, 2016, 10:52 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | pages/subscriptions.tmpl » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 {# 1 {#
2 # This file is part of the Adblock Plus website, 2 # This file is part of the Adblock Plus website,
3 # Copyright (C) 2006-2016 Eyeo GmbH 3 # Copyright (C) 2006-2016 Eyeo GmbH
4 # 4 #
5 # Adblock Plus is free software: you can redistribute it and/or modify 5 # Adblock Plus is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License version 3 as 6 # it under the terms of the GNU General Public License version 3 as
7 # published by the Free Software Foundation. 7 # published by the Free Software Foundation.
8 # 8 #
9 # Adblock Plus is distributed in the hope that it will be useful, 9 # Adblock Plus is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details. 12 # GNU General Public License for more details.
13 # 13 #
14 # You should have received a copy of the GNU General Public License 14 # You should have received a copy of the GNU General Public License
15 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 #} 16 #}
17 17
18 {%- macro process_subscription(subscription, parent=None) %} 18 {%- macro process_subscription(subscription, parent=None) %}
19 <li> 19 <li>
20 <article class="subscription {% if subscription["deprecated"] %}deprecated{% endif %}"> 20 <article class="subscription {% if subscription["deprecated"] %}deprecated{% endif %}">
21 <div class="subscription-content"> 21 <div class="subscription-content">
22 <div class="subscription-summary"> 22 <div class="subscription-summary">
23 <h1>{{ subscription["name"] }}</h1> 23 <h1>{{ subscription["name"] }}</h1>
24 <p> 24 <p>
25 <span class="screen-reader-text">{{ "Specialization"|translate("spec ialization") }}:</span> 25 {{ "Specialization"|translate("specialization") }}:
26 {{ subscription["specialization"] }} 26 {{ subscription["specialization"] }}
27 </p> 27 </p>
28 {%- if subscription["supplements"] %} 28 {%- if subscription["supplements"] %}
29 <p> 29 <p>
30 {{ "supplement for"|translate("supplements_prefix") }} 30 {{ "supplement for"|translate("supplements_prefix") }}
31 {{ ' / '.join(subscription["supplements"]) }} 31 {{ ' / '.join(subscription["supplements"]) }}
32 {{ " "|translate("supplements_suffix") }}. 32 {{ " "|translate("supplements_suffix") }}.
33 </p> 33 </p>
34 {%- endif %} 34 {%- endif %}
35 </div> 35 </div>
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 <ul class="subscriptions-list"> 98 <ul class="subscriptions-list">
99 {%- endif -%} 99 {%- endif -%}
100 {%- endif -%} 100 {%- endif -%}
101 {%- if subscription["type"] not in subscription["supplementsType"] -%} 101 {%- if subscription["type"] not in subscription["supplementsType"] -%}
102 {{ process_subscription(subscription) }} 102 {{ process_subscription(subscription) }}
103 {%- endif -%} 103 {%- endif -%}
104 {%- endfor %} 104 {%- endfor %}
105 </ul> 105 </ul>
106 {% endmacro %} 106 {% endmacro %}
LEFTRIGHT

Powered by Google App Engine
This is Rietveld