Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/views/default/friends.html
blob: 4dacbaa39ef578251041b0ed4a6d3f7fa1a64e08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{{extend 'default/_base.html'}}
{{=username+"'s Friends List:"}}
<center>
<table>
{{for user in friends:}}
    <tr>
    <td>{{=user.username}}</td>
    <td><a href={{= 'profile?profile=' +str(user.username)}}>view profile</a></td>
    {{if auth.is_logged_in():}}
        {{if username == auth.user.username:}}
            <td><a href={{= 'remove_friends?user=' +str(user.username)}}>remove friend</a></td>
            {{pass}}
        {{pass}}
    </tr>
    {{pass}}
</table>
<ul id="navlist">
{{for count in range(pages):}}
    {{if count+1 == page:}}
        <li>{{=str(page)}}</li>
        {{pass}}
    {{if count+1 != page:}}
        <li><a href = {{="admin.html?page="+str(count+1)}}>{{ = str(count+1)}}</a></li>
        {{pass}}
    {{pass}}
</ul>
</center>