Skip to content

Commit fdfdeb5

Browse files
authored
Merge pull request #125 from VSEphpbb/redesign-panel
Redesign Idea Panel
2 parents 6960c28 + 28ac907 commit fdfdeb5

7 files changed

Lines changed: 166 additions & 135 deletions

File tree

controller/base.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ protected function assign_template_block_vars($block, $rows)
115115
foreach ($rows as $row)
116116
{
117117
$this->template->assign_block_vars($block, array(
118-
'ID' => $row['idea_id'],
118+
'ID' => $row['idea_id'], // (not currently implemented)
119119
'LINK' => $this->link_helper->get_idea_link($row['idea_id']),
120120
'TITLE' => $row['idea_title'],
121121
'AUTHOR' => $this->link_helper->get_user_link($row['idea_author']),
@@ -124,7 +124,7 @@ protected function assign_template_block_vars($block, $rows)
124124
'VOTES_UP' => $row['idea_votes_up'],
125125
'VOTES_DOWN' => $row['idea_votes_down'],
126126
'USER_VOTED' => $row['u_voted'],
127-
'POINTS' => $row['idea_votes_up'] - $row['idea_votes_down'],
127+
'POINTS' => $row['idea_votes_up'] - $row['idea_votes_down'], // (not currently implemented)
128128
'STATUS' => $row['idea_status'], // for status icons (not currently implemented)
129129
'LOCKED' => $row['topic_status'] == ITEM_LOCKED,
130130
'U_UNAPPROVED_IDEA' => (($row['topic_visibility'] == ITEM_UNAPPROVED || $row['topic_visibility'] == ITEM_REAPPROVE) && $this->auth->acl_get('m_approve', $this->config['ideas_forum_id'])) ? append_sid("{$this->root_path}mcp.{$this->php_ext}", 'i=queue&mode=approve_details&t=' . $row['topic_id'], true, $this->user->session_id) : '',

event/listener.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,6 @@ public function show_idea($event)
192192
$this->template->assign_vars(array(
193193
'IDEA_ID' => $idea['idea_id'],
194194
'IDEA_TITLE' => $idea['idea_title'],
195-
'IDEA_AUTHOR' => $this->link_helper->get_user_link($idea['idea_author']),
196-
'IDEA_DATE' => $this->user->format_date($idea['idea_date']),
197195
'IDEA_VOTES' => $idea['idea_votes_up'] + $idea['idea_votes_down'],
198196
'IDEA_VOTES_UP' => $idea['idea_votes_up'],
199197
'IDEA_VOTES_DOWN' => $idea['idea_votes_down'],

language/en/common.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737

3838
'IDEAS' => 'Ideas',
3939
'IDEA_DELETED' => 'Idea successfully deleted.',
40-
'IDEA_ID' => 'Idea ID',
4140
'IDEA_LIST' => 'Idea List',
4241
'IDEA_NOT_FOUND' => 'Idea not found',
4342
'IDEA_STORED_MOD' => 'Your idea has been submitted successfully, but it will need to be approved by a moderator before it is publicly viewable. You will be notified when your idea has been approved.<br /><br /><a href="%s">Return to Ideas</a>.',
@@ -74,11 +73,11 @@
7473
'POST_IDEA' => 'Post a new idea',
7574
'POSTING_NEW_IDEA' => 'Posting a new idea',
7675

77-
'RATING' => 'Rating',
7876
'REMOVE_VOTE' => 'Remove my vote',
7977
'RETURN_IDEAS' => '%sReturn to Ideas%s',
8078
'RFC' => 'RFC',
8179
'RFC_ERROR' => 'RFC must be a topic on Area51.',
80+
'RFC_LINK_TEXT' => 'View RFC discussion on Area51',
8281

8382
'SEARCH_IDEAS' => 'Search ideas...',
8483
'SCORE' => 'Score',
@@ -112,7 +111,7 @@
112111
'VIEW_IDEA' => 'View Idea',
113112
'VIEW_IMPLEMENTED' => 'View all implemented ideas',
114113
'VIEW_LATEST' => 'View all open ideas',
115-
'VIEW_TOP' => 'View all top rated ideas',
114+
'VIEW_TOP' => 'View all top voted ideas',
116115
'VIEWING_IDEAS' => 'Viewing Ideas',
117116
'VOTE' => 'Vote',
118117
'VOTE_DOWN' => 'Vote Down',

styles/prosilver/template/idea_body.html

Lines changed: 86 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@
88
</noscript>
99
<div class="panel">
1010
<div class="inner">
11-
<dl class="left-box details idea-panel">
12-
{% if S_IS_MOD %}<dt class="idealabel">{{ lang('IDEA_ID') ~ lang('COLON') }}</dt> <dd>{{ IDEA_ID }}</dd>{% endif %}
13-
<dt class="idealabel">{{ lang('AUTHOR') ~ lang('COLON') }}</dt> <dd><strong>{{ IDEA_AUTHOR }}</strong></dd>
14-
<dt class="idealabel">{{ lang('POSTED') ~ lang('COLON') }}</dt> <dd>{{ IDEA_DATE }}</dd>
15-
<dt class="idealabel">{{ lang('RATING') ~ lang('COLON') }}</dt>
16-
<dd>
11+
<div class="idea-panel flex-box flex-wrap">
12+
<div class="idea-panel-inner flex-grow">
13+
<h3>{{ lang('VOTES') }}</h3>
1714
<div class="rating">
1815
<a {% if S_CAN_VOTE %}href="{{ U_IDEA_VOTE }}"{% endif %} class="minivote vote-up{{ not S_CAN_VOTE_UP ? ' vote-disabled' }}" title="{{ lang('VOTE_UP') }}" data-l-err="{{ lang('ERROR') }}" data-l-msg="{{ lang('VOTE_ERROR') ~ lang('COLON') }}"><i class="icon fa-check-circle user-voted{{ not S_VOTED_UP ? ' hidden' }}" aria-hidden="true"></i><i class="icon fa-thumbs-up"></i><span class="vote-count">{{ IDEA_VOTES_UP }}</span></a> &nbsp;
1916
<a {% if S_CAN_VOTE %}href="{{ U_IDEA_VOTE }}"{% endif %} class="minivote vote-down{{ not S_CAN_VOTE_DOWN ? ' vote-disabled' }}" title="{{ lang('VOTE_DOWN') }}" data-l-err="{{ lang('ERROR') }}" data-l-msg="{{ lang('VOTE_ERROR') ~ lang('COLON') }}"><i class="icon fa-check-circle user-voted{{ not S_VOTED_DOWN ? ' hidden' }}" aria-hidden="true"></i><i class="icon fa-thumbs-down"></i><span class="vote-count">{{ IDEA_VOTES_DOWN }}</span></a>
@@ -45,91 +42,93 @@
4542
{% endif %}
4643
</ul>
4744
</div>
48-
</dd>
49-
<dt class="idealabel">{{ lang('STATUS') ~ lang('COLON') }}</dt>
50-
<dd class="status-dropdown-container dropdown-container dropdown-{S_CONTENT_FLOW_END}">
51-
<span class="status-badge status-{{ IDEA_STATUS_ID }}">
52-
<a href="{{ U_IDEA_STATUS_LINK }}" id="status-link"><i class="icon fa-fw {{ ideas_status_icon(IDEA_STATUS_ID) }}"></i>{{ IDEA_STATUS_NAME }}</a>
45+
</div>
46+
<div class="idea-panel-inner flex-grow">
47+
<h3>{{ lang('STATUS') }}</h3>
48+
<div class="status-dropdown-container dropdown-container dropdown-{S_CONTENT_FLOW_END}">
49+
<span class="status-badge status-{{ IDEA_STATUS_ID }}">
50+
<a href="{{ U_IDEA_STATUS_LINK }}" id="status-link"><i class="icon fa-fw {{ ideas_status_icon(IDEA_STATUS_ID) }}"></i>{{ IDEA_STATUS_NAME }}</a>
51+
{% if STATUS_ARY %}
52+
<a href="#" class="dropdown-trigger"><i class="icon fa-fw fa-caret-down"></i></a>
53+
{% endif %}
54+
</span>
5355
{% if STATUS_ARY %}
54-
<a href="#" class="dropdown-trigger"><i class="icon fa-fw fa-caret-down"></i></a>
56+
<div class="status-dropdown dropdown">
57+
<div class="pointer"><div class="pointer-inner"></div></div>
58+
<ul class="dropdown-contents">
59+
{% for status, id in STATUS_ARY %}
60+
<li>
61+
<a href="{{ U_CHANGE_STATUS }}" data-status="{{ id }}" class="change-status"><i class="icon fa-fw {{ ideas_status_icon(id) }}"></i>{{ lang(status) }}</a>
62+
</li>
63+
{% endfor %}
64+
</ul>
65+
</div>
5566
{% endif %}
56-
</span>
57-
{% if STATUS_ARY %}
58-
<div class="status-dropdown dropdown">
59-
<div class="pointer"><div class="pointer-inner"></div></div>
60-
<ul class="dropdown-contents">
61-
{% for status, id in STATUS_ARY %}
62-
<li>
63-
<a href="{{ U_CHANGE_STATUS }}" data-status="{{ id }}" class="change-status"><i class="icon fa-fw {{ ideas_status_icon(id) }}"></i>{{ lang(status) }}</a>
64-
</li>
65-
{% endfor %}
66-
</ul>
67+
</div>
68+
{% if IDEA_RFC %}
69+
<div class="status-item flex-box flex-align-end">
70+
{{ lang('RFC') ~ lang('COLON') }}
71+
<a id="rfclink" href="{{ IDEA_RFC }}" style="{% if not IDEA_RFC %}display:none;{% endif %}overflow:hidden;text-overflow:ellipsis;white-space:nowrap;{% if S_CAN_EDIT %}max-width:75%;{% endif %}">{{ lang('RFC_LINK_TEXT') }}</a>
72+
{% if S_CAN_EDIT %}
73+
<a href="{{ U_EDIT_RFC }}" id="rfcedit" data-l-add="{{ lang('ADD') }}" data-l-edit="{{ lang('EDIT') }}">{% if IDEA_RFC %}<i class="icon fa-fw fa-pencil"></i>{{ lang('EDIT') }}{% else %}<i class="icon fa-fw fa-plus-circle"></i>{{ lang('ADD') }}{% endif %}</a>
74+
<input type="text" id="rfceditinput" class="ideainput" value="{{ IDEA_RFC }}" data-l-err="{{ lang('ERROR') }}" data-l-msg="{{ lang('RFC_ERROR') }}" />
75+
{% endif %}
6776
</div>
6877
{% endif %}
69-
</dd>
70-
{% if IDEA_RFC %}
71-
<dt class="idealabel">{{ lang('RFC') ~ lang('COLON') }}</dt>
72-
<dd>
73-
<a id="rfclink" href="{{ IDEA_RFC }}"{% if not IDEA_RFC %} style="display:none"{% endif %}>{{ IDEA_RFC }}</a>
74-
{% if S_CAN_EDIT %}
75-
<a href="{{ U_EDIT_RFC }}" id="rfcedit" data-l-add="{{ lang('ADD') }}" data-l-edit="{{ lang('EDIT') }}">{% if IDEA_RFC %}<i class="icon fa-fw fa-pencil"></i>{{ lang('EDIT') }}{% else %}<i class="icon fa-fw fa-plus-circle"></i>{{ lang('ADD') }}{% endif %}</a>
76-
<input type="text" id="rfceditinput" class="ideainput" value="{{ IDEA_RFC }}" data-l-err="{{ lang('ERROR') }}" data-l-msg="{{ lang('RFC_ERROR') }}" />
77-
{% endif %}
78-
</dd>
79-
{% endif %}
80-
{% if IDEA_TICKET or S_CAN_EDIT %}
81-
<dt class="idealabel">{{ lang('TICKET') ~ lang('COLON') }}</dt>
82-
<dd>
83-
<a id="ticketlink" {% if IDEA_TICKET %}href="https://tracker.phpbb.com/browse/PHPBB3-{{ IDEA_TICKET }}">PHPBB3-{{ IDEA_TICKET }}{% else %}style="display:none">{% endif %}</a>
84-
{% if S_CAN_EDIT %}
85-
<a href="{{ U_EDIT_TICKET }}" id="ticketedit" data-l-add="{{ lang('ADD') }}" data-l-edit="{{ lang('EDIT') }}">{% if IDEA_TICKET %}<i class="icon fa-fw fa-pencil"></i>{{ lang('EDIT') }}{% else %}<i class="icon fa-fw fa-plus-circle"></i>{{ lang('ADD') }}{% endif %}</a>
86-
<input type="text" id="ticketeditinput" class="ideainput"{% if IDEA_TICKET %} value="PHPBB3-{{ IDEA_TICKET }}"{% endif %} placeholder="PHPBB3-#####" data-l-err="{{ lang('ERROR') }}" data-l-msg="{{ lang('TICKET_ERROR') }}" />
87-
{% endif %}
88-
</dd>
89-
{% endif %}
90-
{% if IDEA_DUPLICATE or S_IS_MOD %}
91-
<dt class="duplicatetoggle idealabel"{% if IDEA_STATUS_ID != STATUS_ARY.DUPLICATE %} style="display:none"{% endif %}>{{ lang('DUPLICATE') ~ lang('COLON') }}</dt>
92-
<dd class="duplicatetoggle" {% if IDEA_STATUS_ID != STATUS_ARY.DUPLICATE %}style="display:none"{% endif %}>
93-
<a id="duplicatelink" data-link="{{ U_IDEA_DUPLICATE }}" {% if IDEA_DUPLICATE %}href="{{ U_IDEA_DUPLICATE }}">{{ IDEA_DUPLICATE }}{% else %}style="display:none">{% endif %}</a>
94-
{% if S_IS_MOD %}
95-
<a href="{{ U_EDIT_DUPLICATE }}" id="duplicateedit" data-l-add="{{ lang('ADD') }}" data-l-edit="{{ lang('EDIT') }}">{% if IDEA_DUPLICATE %}<i class="icon fa-fw fa-pencil"></i>{{ lang('EDIT') }}{% else %}<i class="icon fa-fw fa-plus-circle"></i>{{ lang('ADD') }}{% endif %}</a>
96-
<div class="dropdown-container dropdown-{{ S_CONTENT_FLOW_END }}">
97-
<input
98-
type="text"
99-
name="duplicateeditinput"
100-
id="duplicateeditinput"
101-
value="{{ IDEA_DUPLICATE ? IDEA_DUPLICATE }}"
102-
placeholder="{{ lang('DUPLICATE_PLACEHOLDER') }}"
103-
class="ideainput"
104-
autocomplete="off"
105-
data-filter="phpbb.search.filter"
106-
data-ajax="idea_search"
107-
data-min-length="3"
108-
data-url="{{ U_TITLE_LIVESEARCH }}"
109-
data-results="#live-search"
110-
data-l-err="{{ lang('ERROR') }}"
111-
data-l-msg="{{ lang('TICKET_ERROR_DUP') }}"
112-
/>
113-
<div class="dropdown live-search hidden" id="live-search">
114-
<div class="pointer"><div class="pointer-inner"></div></div>
115-
<ul class="dropdown-contents search-results">
116-
<li class="search-result-tpl"><span class="search-result"></span></li>
117-
</ul>
78+
{% if IDEA_TICKET or S_CAN_EDIT %}
79+
<div class="status-item flex-box flex-align-end">
80+
{{ lang('TICKET') ~ lang('COLON') }}
81+
<a id="ticketlink" {% if IDEA_TICKET %}href="https://tracker.phpbb.com/browse/PHPBB3-{{ IDEA_TICKET }}">PHPBB3-{{ IDEA_TICKET }}{% else %}style="display:none">{% endif %}</a>
82+
{% if S_CAN_EDIT %}
83+
<a href="{{ U_EDIT_TICKET }}" id="ticketedit" data-l-add="{{ lang('ADD') }}" data-l-edit="{{ lang('EDIT') }}">{% if IDEA_TICKET %}<i class="icon fa-fw fa-pencil"></i>{{ lang('EDIT') }}{% else %}<i class="icon fa-fw fa-plus-circle"></i>{{ lang('ADD') }}{% endif %}</a>
84+
<input type="text" id="ticketeditinput" class="ideainput"{% if IDEA_TICKET %} value="PHPBB3-{{ IDEA_TICKET }}"{% endif %} placeholder="PHPBB3-#####" data-l-err="{{ lang('ERROR') }}" data-l-msg="{{ lang('TICKET_ERROR') }}" />
85+
{% endif %}
86+
</div>
87+
{% endif %}
88+
{% if IDEA_DUPLICATE or S_IS_MOD %}
89+
<div class="status-item flex-box flex-align-end duplicatetoggle" {% if IDEA_STATUS_ID != STATUS_ARY.DUPLICATE %}style="display:none"{% endif %}>
90+
{{ lang('DUPLICATE') ~ lang('COLON') }}
91+
<a id="duplicatelink" data-link="{{ U_IDEA_DUPLICATE }}" {% if IDEA_DUPLICATE %}href="{{ U_IDEA_DUPLICATE }}">{{ IDEA_DUPLICATE }}{% else %}style="display:none">{% endif %}</a>
92+
{% if S_IS_MOD %}
93+
<a href="{{ U_EDIT_DUPLICATE }}" id="duplicateedit" data-l-add="{{ lang('ADD') }}" data-l-edit="{{ lang('EDIT') }}">{% if IDEA_DUPLICATE %}<i class="icon fa-fw fa-pencil"></i>{{ lang('EDIT') }}{% else %}<i class="icon fa-fw fa-plus-circle"></i>{{ lang('ADD') }}{% endif %}</a>
94+
<div class="dropdown-container dropdown-{{ S_CONTENT_FLOW_END }}">
95+
<input
96+
type="text"
97+
name="duplicateeditinput"
98+
id="duplicateeditinput"
99+
value="{{ IDEA_DUPLICATE ? IDEA_DUPLICATE }}"
100+
placeholder="{{ lang('DUPLICATE_PLACEHOLDER') }}"
101+
class="ideainput"
102+
autocomplete="off"
103+
data-filter="phpbb.search.filter"
104+
data-ajax="idea_search"
105+
data-min-length="3"
106+
data-url="{{ U_TITLE_LIVESEARCH }}"
107+
data-results="#live-search"
108+
data-l-err="{{ lang('ERROR') }}"
109+
data-l-msg="{{ lang('TICKET_ERROR_DUP') }}"
110+
/>
111+
<div class="dropdown live-search hidden" id="live-search">
112+
<div class="pointer"><div class="pointer-inner"></div></div>
113+
<ul class="dropdown-contents search-results">
114+
<li class="search-result-tpl"><span class="search-result"></span></li>
115+
</ul>
116+
</div>
118117
</div>
119-
</div>
120-
{% endif %}
121-
</dd>
122-
{% endif %}
123-
{% if IDEA_IMPLEMENTED or S_IS_MOD %}
124-
<dt class="implementedtoggle idealabel"{% if IDEA_STATUS_ID != STATUS_ARY.IMPLEMENTED %} style="display:none"{% endif %}>{{ lang('IMPLEMENTED_VERSION') ~ lang('COLON') }}</dt>
125-
<dd class="implementedtoggle" {% if IDEA_STATUS_ID != STATUS_ARY.IMPLEMENTED %}style="display:none"{% endif %}>
126-
<span id="implementedversion"{% if not IDEA_IMPLEMENTED %} style="display:none;"{% endif %}>{{ IDEA_IMPLEMENTED }}</span>
127-
{% if S_IS_MOD %}
128-
<a href="{{ U_EDIT_IMPLEMENTED }}" id="implementededit" data-l-add="{{ lang('ADD') }}" data-l-edit="{{ lang('EDIT') }}">{% if IDEA_IMPLEMENTED %}<i class="icon fa-fw fa-pencil"></i>{{ lang('EDIT') }}{% else %}<i class="icon fa-fw fa-plus-circle"></i>{{ lang('ADD') }}{% endif %}</a>
129-
<input type="text" id="implementededitinput" class="ideainput"{% if IDEA_IMPLEMENTED %} value="{{ IDEA_IMPLEMENTED }}"{% endif %} placeholder="3.x.x" data-l-err="{{ lang('ERROR') }}" data-l-msg="{{ lang('IMPLEMENTED_ERROR') }}" />
130-
{% endif %}
131-
</dd>
132-
{% endif %}
133-
</dl>
118+
{% endif %}
119+
</div>
120+
{% endif %}
121+
{% if IDEA_IMPLEMENTED or S_IS_MOD %}
122+
<div class="status-item flex-box flex-align-end implementedtoggle" {% if IDEA_STATUS_ID != STATUS_ARY.IMPLEMENTED %}style="display:none"{% endif %}>
123+
{{ lang('IMPLEMENTED_VERSION') ~ lang('COLON') }}
124+
<span id="implementedversion"{% if not IDEA_IMPLEMENTED %} style="display:none;"{% endif %}>{{ IDEA_IMPLEMENTED }}</span>
125+
{% if S_IS_MOD %}
126+
<a href="{{ U_EDIT_IMPLEMENTED }}" id="implementededit" data-l-add="{{ lang('ADD') }}" data-l-edit="{{ lang('EDIT') }}">{% if IDEA_IMPLEMENTED %}<i class="icon fa-fw fa-pencil"></i>{{ lang('EDIT') }}{% else %}<i class="icon fa-fw fa-plus-circle"></i>{{ lang('ADD') }}{% endif %}</a>
127+
<input type="text" id="implementededitinput" class="ideainput"{% if IDEA_IMPLEMENTED %} value="{{ IDEA_IMPLEMENTED }}"{% endif %} placeholder="3.x.x" data-l-err="{{ lang('ERROR') }}" data-l-msg="{{ lang('IMPLEMENTED_ERROR') }}" />
128+
{% endif %}
129+
</div>
130+
{% endif %}
131+
</div>
132+
</div>
134133
</div>
135134
</div>

styles/prosilver/template/index_body.html

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,19 @@ <h2>{{ lang('IDEAS_TITLE') }}</h2>
77
{% include 'action_bar_top.html' %}
88

99
{# TOP IDEAS #}
10-
<h2 class="push-left">{{ lang('TOP_IDEAS') }}</h2>
11-
{% if top_ideas %}
12-
<a class="button view-all" href="{{ U_VIEW_TOP }}"><i class="icon fa-fw fa-line-chart"></i> <span>{{ lang('VIEW_TOP') }}</span></a>
13-
{% endif %}
10+
<div class="flex-box flex-align-end flex-justify">
11+
<h2>{{ lang('TOP_IDEAS') }}</h2>
12+
{% if top_ideas %}
13+
<a class="button view-all" href="{{ U_VIEW_TOP }}"><i class="icon fa-fw fa-line-chart"></i> <span>{{ lang('VIEW_TOP') }}</span></a>
14+
{% endif %}
15+
</div>
1416
<div class="forumbg">
1517
<div class="inner">
1618
<ul class="topiclist">
1719
<li class="header">
1820
<dl class="row-item">
1921
<dt><div class="list-inner">{{ lang('IDEAS') }}</div></dt>
20-
<dd class="posts">{{ lang('RATING') }}</dd>
22+
<dd class="posts">{{ lang('VOTES') }}</dd>
2123
</dl>
2224
</li>
2325
</ul>
@@ -27,17 +29,19 @@ <h2 class="push-left">{{ lang('TOP_IDEAS') }}</h2>
2729
</div>
2830

2931
{# LATEST IDEAS #}
30-
<h2 class="push-left">{{ lang('LATEST_IDEAS') }}</h2>
31-
{% if latest_ideas %}
32-
<a class="button view-all" href="{{ U_VIEW_LATEST }}"><i class="icon fa-fw fa-lightbulb-o"></i> <span>{{ lang('VIEW_LATEST') }}</span></a>
33-
{% endif %}
34-
<div class="forumbg" style="margin-top: 10px">
32+
<div class="flex-box flex-align-end flex-justify">
33+
<h2>{{ lang('LATEST_IDEAS') }}</h2>
34+
{% if latest_ideas %}
35+
<a class="button view-all" href="{{ U_VIEW_LATEST }}"><i class="icon fa-fw fa-lightbulb-o"></i> <span>{{ lang('VIEW_LATEST') }}</span></a>
36+
{% endif %}
37+
</div>
38+
<div class="forumbg">
3539
<div class="inner">
3640
<ul class="topiclist">
3741
<li class="header">
3842
<dl class="row-item">
3943
<dt><div class="list-inner">{{ lang('IDEAS') }}</div></dt>
40-
<dd class="posts">{{ lang('RATING') }}</dd>
44+
<dd class="posts">{{ lang('VOTES') }}</dd>
4145
</dl>
4246
</li>
4347
</ul>
@@ -47,17 +51,19 @@ <h2 class="push-left">{{ lang('LATEST_IDEAS') }}</h2>
4751
</div>
4852

4953
{# IMPLEMENTED IDEAS #}
50-
<h2 class="push-left">{{ lang('IMPLEMENTED_IDEAS') }}</h2>
51-
{% if implemented_ideas %}
52-
<a class="button view-all" href="{{ U_VIEW_IMPLEMENTED }}"><i class="icon fa-fw fa-code-fork fa-flip-vertical"></i> <span>{{ lang('VIEW_IMPLEMENTED') }}</span></a>
53-
{% endif %}
54-
<div class="forumbg" style="margin-top: 10px">
54+
<div class="flex-box flex-align-end flex-justify">
55+
<h2>{{ lang('IMPLEMENTED_IDEAS') }}</h2>
56+
{% if implemented_ideas %}
57+
<a class="button view-all" href="{{ U_VIEW_IMPLEMENTED }}"><i class="icon fa-fw fa-code-fork fa-flip-vertical"></i> <span>{{ lang('VIEW_IMPLEMENTED') }}</span></a>
58+
{% endif %}
59+
</div>
60+
<div class="forumbg">
5561
<div class="inner">
5662
<ul class="topiclist">
5763
<li class="header">
5864
<dl class="row-item">
5965
<dt><div class="list-inner">{{ lang('IDEAS') }}</div></dt>
60-
<dd class="posts">{{ lang('RATING') }}</dd>
66+
<dd class="posts">{{ lang('VOTES') }}</dd>
6167
</dl>
6268
</li>
6369
</ul>

styles/prosilver/template/list_body.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h2>{{ lang('IDEAS_TITLE') }} <i class="icon fa-fw fa-angle-double-right"></i>{{
1212
<li class="header">
1313
<dl class="row-item">
1414
<dt><div class="list-inner">{{ lang('IDEAS') }}</div></dt>
15-
<dd class="posts">{{ lang('RATING') }}</dd>
15+
<dd class="posts">{{ lang('VOTES') }}</dd>
1616
</dl>
1717
</li>
1818
</ul>

0 commit comments

Comments
 (0)