~sirn/fanboi2

ref: 834edf0edc5dd633c0ecea16231b6ed2d728476d fanboi2/fanboi2/templates/topics/show_error.mako -rw-r--r-- 2.9 KiB
834edf0eKridsada Thanabulpong Massive cleanup in preparation for 0.30 (#25) 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<%include file='_subheader.mako' />
<%inherit file='../partials/_layout.mako' />
<%def name='title()'>${topic.title} - ${board.title}</%def>
<div class="sheet">
    <div class="container">
    % if name == 'akismet_rejected':
        <h2 class="sheet-title">I'm sorry, Dave. I'm afraid I can't do that.</h2>
        <div class="sheet-body">
            <p>This mission is too important for me to allow you to jeopardize it.</p>
            <p><em>Your post has been identified as spam and therefore rejected.</em></p>
        </div>
    % elif name == 'ban_rejected':
        <h2 class="sheet-title">Toto, I've a feeling we're not in Kansas any more.</h2>
        <div class="sheet-body">
            <p>We must be over the rainbow!</p>
            <p><em>Your IP address is being listed in the ban list.</em></p>
        </div>
    % elif name == 'dnsbl_rejected':
        <h2 class="sheet-title">A strange game.</h2>
        <div class="sheet-body">
            <p>The only winning move is not to play. How about a nice game of chess?</p>
            <p><em>Your IP address is listed in DNSBL and therefore rejected.</em></p>
        </div>
    % elif name == 'proxy_rejected':
        <h2 class="sheet-title">You look surprised to see me, again, Mr. Anderson.</h2>
        <div class="sheet-body">
            <p>That's the difference between us. I've been expecting you.</p>
            <p><em>Your IP address has been identified as an open proxy or public VPN.</em></p>
        </div>
    % elif name == 'rate_limited':
        <h2 class="sheet-title">Nothing travels faster than light.</h2>
        <div class="sheet-body">
            <p>With the possible exception of bad news, which obeys its own special laws.</p>
            <p><em>You're posting too fast. Please wait <strong>${time_left} seconds</strong> before trying again.</em></p>
        </div>
    % elif name == 'status_rejected':
        % 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
    % end
    </div>
</div>