Commit 5002bb7f authored by lumineau's avatar lumineau
Browse files

[change] new look for my lists page

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@12617 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent cf6dc47a
......@@ -820,7 +820,7 @@ h4.letter {
}
.item_list .suspended {
background-color:[% color_13 %];
background-color:[% color_13 %];
}
.item_list .item .item_icon {
......@@ -836,22 +836,40 @@ h4.letter {
}
.item_list .item .item_content .item_title {
display: block;
font-weight: bold;
display: block;
font-weight: bold;
}
.item_list .item .item_content ul {
padding-left: 5rem;
padding-left: 5rem;
}
.item_list .item .item_content ul.my {
margin:0;
padding-left: 0;
}
.item_list .item .item_content ul.my li{
display:inline;
}
.item_list .item .item_content ul.my li:nth-child(2){
padding-left: 1.5rem;
}
.item_list .item .item_content p {
font-size: 0.9em;
margin: 0.5em 0 0.5em 1em;
font-size: 0.9em;
margin: 0.5em 0 0.5em 1em;
}
.item_list .item .item_content p.note {
font-size: 80%;
font-style: italic;
font-size: 80%;
font-style: italic;
}
.item_list span.divider {
padding:0;
margin:0.5rem 0;
}
.prefs {
......@@ -2115,7 +2133,12 @@ span.fa-stack i.fa-plus-circle {
h6 {
font-size: 0.8em;
}
.item_list .item .item_content ul.my li{
display:block;
}
.item_list .item .item_content ul.my li:nth-child(2){
padding-left:0;
}
}
@media screen and (min-width: 420px) and (max-width: 779px) {
......
<!-- $Id$ -->
[% IF user.email %]
<h2><i class="fa fa-envelope-square"></i> [%|loc%]My lists[%END%]</h2>
[% IF user.email %]
<p>[%|loc%]You are subscribed to or managing the following lists.[%END%]</p>
<form class="noborder" action="[% path_cgi %]" method="post" name="suspend_request">
[% IF which.size %]
<div class="item_list">
<span class="divider"></span>
[% FOREACH l = which %]
[% additional_class = '' %]
[% IF l.value.listsuspend %]
......@@ -40,29 +39,32 @@
[% END %]
[% END %]
<ul>
<ul class="my">
[% IF l.value.is_owner %]
<li><a href="[% path_cgi %]/review/[% l.key %]">[%|loc%]Review members[%END%]</a></li>
<li><a href="[% path_cgi %]/review/[% l.key %]"><i class="fa fa-users"></i> [%|loc%]Review members[%END%]</a></li>
[% END %]
[% IF is_user_allowed_to('archive.web_access', l.key) %]
<li><a href="[% path_cgi %]/arc/[% l.key %]">[%|loc%]Archives[%END%]</a></li>
<li><a href="[% path_cgi %]/arc/[% l.key %]"><i class="fa fa-archive"></i> [%|loc%]Archives[%END%]</a></li>
[% END %]
</ul>
</div>
</div>
<span class="divider"></span>
[% END %]
</div>
[% ELSE %]
<p>[%|loc%]No subscription.[%END%]</p>
<p class="small-12 medium-8 medium-centered columns alert-box info">>[%|loc%]No subscription.[%END%]</p>
[% END %]
</form>
[% ELSE %]
[%|loc%]You need to be logged in to access this page.[%END%]
<article>
[% PROCESS loginrequest.tt2 %]
</article>
[% END %]
<!-- end my.tt2 -->
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment