aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/oscar/snac.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/oscar/snac.c')
0 files changed, 0 insertions, 0 deletions
Unnamed repository; edit this file 'description' to name the repository.MimesBrønn
aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/comment/_single_comment.rhtml
blob: e6a1728a86597127ad55e6d4865a4e15ce4cbd46 (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
28
<div class="comment_in_request" id="comment-<%=comment.id.to_s%>">
    <% if comment.user && comment.user.profile_photo %>
        <div class="user_photo_on_comment">
            <img src="<%= get_profile_photo_url(:url_name => comment.user.url_name) %>" alt="">
        </div>
    <% end %>

    <h2>
        <%# When not logged in, but mid-comment-leaving, there'll be no comment.user %>
        <%= comment.user ? user_link(comment.user) : _("You") %> <%= _("left an annotation") %> (<%= simple_date(comment.created_at || Time.now) %>)
    </h2>
    <div class="comment_in_request_text"> 
        <p>
        <img class="comment_quote" src="/images/quote.png" alt="">
        <%= comment.get_body_for_html_display %>
        </p>
    </div>
    <p class="event_actions">
        <% if !comment.id.nil? %>
            <%= link_to "Link to this", comment_url(comment) %>
            <% if !@user.nil? && @user.admin_page_links? %>
                | <%= link_to "Admin", admin_url("request/edit_comment/" + comment.id.to_s) %>
            <% end %>
            <!-- | <%= link_to _('Report abuse'), comment_url(comment) %> -->
        <% end %>
    </p>
</div>