~sirn/fanboi2

ref: 98796226802a26b82c888365ad5b9cd331006792 fanboi2/fanboi2/templates/topics/error_status.mako -rw-r--r-- 1.2 KiB
98796226Kridsada Thanabulpong Bump copyright year. 3 years ago
                                                                                
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
28
<%include file='_subheader.mako' />
<%inherit file='../partials/_layout.mako' />
<%def name='title()'>${topic.title} - ${board.title}</%def>
<div class="sheet">
    <div class="container">
        % if status == 'locked':
            <h2 class="sheet-title">Don't panic.</h2>
            <div class="sheet-body">
                <p>There's no point in acting surprised about it.</p>
                % if topic.status == 'locked':
                    <p><em>Topic has been locked by moderator due to requests.</em></p>
                % else
                    <p><em>Board has been locked by moderator.</em></p>
                % endif
            </div>
        % elif status == 'archived':
            <h2 class="sheet-title">A candle that burns twice as bright, burns half as long.</h2>
            <div class="sheet-body">
                <p>Nothing the god of biomechanics wouldn't let you in heaven for.</p>
                % if topic.status == 'locked':
                    <p><em>Topic has reached maximum number of posts.</em></p>
                % else
                    <p><em>Board has been archived.</em></p>
                % endif
            </div>
        % endif
    </div>
</div>