load extra_one load profile script type text javascript src static com

 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
{% load extra_one %}
{% load profile %}
<script type="text/javascript" src="/static/comment.js"></script>
<script type="text/javascript" src="/static/ajax_my_profile_comment.js"></script>
{% for session in sessions %}
<div id="content">
<div class='text_caption'>
<a href="/profile/{{ session|my_profile:request.user.id }}/">{{ session|my_profile_display:request.user.id|escape }}</a>
</div>
<div class='content_text'>
<div style="width:100%; float: left;"/>
<div class="message_block" id="{{ session.session.id }}">
{% for v in session.session.message_set.all|slice:"5" %}
<b style="{{ v|my_color:request.user.id }}">{{ v.sender.get_profile.display_name|escape }}:</b><br />
{{ v.message|escape|linebreaksbr|bbcode }}<br /><br />
{% endfor %}
</div>
</div>
<a class="avatar_a" href="/profile/{{ session|my_profile:request.user.id }}/"><img src="/static/1186281627.gif" /></a>
<div style="clear:both;"></div>
<button onclick="return hide_div(this)">Reply</button>
<div class='form_text' style='display: none;'>
<form method="post" action="/messages/my_ajax/{{ session|my_profile:request.user.id }}/" id="dataform" name="message" />
{{ myform.content }}
{% include 'my_profile_bbcode.html' %}
<input type="hidden" name="message" value="send" />
<input type="hidden" id="last" name="last" value="{{ session.session.message_set.count }}" />
<input type="hidden" id="session" name="session" value="{{ session.session.id }}" />
</form>
<div style="clear:both;"></div>
</div>
</div>
<p class='menu_shadow'></p>
<div id="hidden">
<img src="/static/ajax_indicator.gif"/>
</div>
</div>
{% endfor %}