src/cm/templates/site/dashboard.html
changeset 144 e7e1bc64f613
parent 116 5ef5e558e361
child 159 4ec5ae89a7b0
equal deleted inserted replaced
143:3c21b9097908 144:e7e1bc64f613
   115             	<li class="dashlog_item">
   115             	<li class="dashlog_item">
   116 				    <div class="dashlog">            	
   116 				    <div class="dashlog">            	
   117 						<img class="dashlog_img" src="{{ MEDIA_URL }}img/note_error_small.png"/>
   117 						<img class="dashlog_img" src="{{ MEDIA_URL }}img/note_error_small.png"/>
   118 						<span class="dashlog_data">
   118 						<span class="dashlog_data">
   119             	
   119             	
   120 		            	{% blocktrans %}comment{% endblocktrans %} <a href="{% url text-view-show-comment comment.text_version.text.key comment.key %}">{{ comment.title }}</a>
   120 		            	{% blocktrans %}comment{% endblocktrans %} <a href="{% url text-view-show-comment comment.text_version.text.key comment.id_key %}">{{ comment.title }}</a>
   121 		            	{% blocktrans with comment.user as cuser %}by {{ cuser }} on text{% endblocktrans %} <a href="{% url text-view comment.text_version.text.key %}">{{ comment.text_version.text.title }}</a> {% blocktrans %}awaits approval{% endblocktrans %}<br />
   121 		            	{% blocktrans with comment.user as cuser %}by {{ cuser }} on text{% endblocktrans %} <a href="{% url text-view comment.text_version.text.key %}">{{ comment.text_version.text.title }}</a> {% blocktrans %}awaits approval{% endblocktrans %}<br />
   122 		            	</span>
   122 		            	</span>
   123 		            	<div style="padding-left:22px;" class="mod_actions">
   123 		            	<div style="padding-left:22px;" class="mod_actions">
   124 <img src="{{ MEDIA_URL }}img/bullet_go_small.png"/>
   124 <img src="{{ MEDIA_URL }}img/bullet_go_small.png"/>
   125 
   125 
   126 <a id="comment-approve-{{ comment.key }}" href="#">{% blocktrans %}approve{% endblocktrans %}</a>/<a id="comment-refuse-{{ comment.key }}" href="#">{% blocktrans %}refuse{% endblocktrans %}</a> {% blocktrans %}comment{% endblocktrans %},
   126 <a id="comment-approve-{{ comment.key }}" href="#">{% blocktrans %}approve{% endblocktrans %}</a>/<a id="comment-refuse-{{ comment.key }}" href="#">{% blocktrans %}refuse{% endblocktrans %}</a> {% blocktrans %}comment{% endblocktrans %},
   127 <a href="{% url text-view-show-comment comment.text_version.text.key comment.key %}">{% blocktrans %}view in context{% endblocktrans %}</a>
   127 <a href="{% url text-view-show-comment comment.text_version.text.key comment.id_key %}">{% blocktrans %}view in context{% endblocktrans %}</a>
   128 <script type="text/javascript">
   128 <script type="text/javascript">
   129 <!--
   129 <!--
   130 $("#comment-approve-{{ comment.key }}").click(function(){
   130 $("#comment-approve-{{ comment.key }}").click(function(){
   131     url = '{% url text-client-exchange %}';
   131     url = '{% url text-client-exchange %}';
   132 	question = "{% blocktrans %}Are you sure you want to approve this comment?{% endblocktrans %}";
   132 	question = "{% blocktrans %}Are you sure you want to approve this comment?{% endblocktrans %}";