~sirn/fanboi2

ref: 834edf0edc5dd633c0ecea16231b6ed2d728476d fanboi2/fanboi2/templates/boards/new_error.mako -rw-r--r-- 2.8 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
<%include file='_subheader.mako' />
<%inherit file='../partials/_layout.mako' />
<%def name='title()'>New topic - ${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 topic has been identified as spam by Akismet and therefore rejected.</em></p>
        </div>
    % elif name == 'ban_rejected':
        <h2 class="sheet-title">You cannot pass.</h2>
        <div class="sheet-body">
            <p>The dark fire will not avail you. Go back to the Shadow!</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 == 'restricted':
            <h2 class="sheet-title">Is that your two cents worth, Worth?</h2>
            <div class="sheet-body">
                <p>For what it’s worth…</p>
                <p><em>Board is currently disallow creation of new topic.</em></p>
            </div>
        % elif status == 'locked':
            <h2 class="sheet-title">Too much garbage in your face?</h2>
            <div class="sheet-body">
                <p>There's plenty of space out in space!</p>
                <p><em>Board has been locked by moderator.</em></p>
            </div>
        % elif status == 'archived':
            <h2 class="sheet-title">Hasta la vista, baby.</h2>
            <div class="sheet-body">
                <p>You gotta listen to the way people talk.</p>
                <p><em>Board has been archived.</em></p>
            </div>
        % endif
    % end
    </div>
</div>