Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a few links out to the PyCon review site for proposal details.

  • Loading branch information...
commit 279e53b52248d3685d0284440ef11a65c34e6c5e 1 parent edd44c2
@jacobian jacobian authored
View
10 pycon_bot/web/templates/meeting_detail.html
@@ -24,6 +24,9 @@
<a href="{{ url_for('talk_detail', n=t.talk_id) }}">
#{{ t.talk_id }} - {{ t.title }}
</a>
+ <a href="{{ t.review_url }}" class="review-link" title="Proposal details" target="_blank">
+ <i class="icon-share">&nbsp;</i>
+ </a>
</td>
<td>{{ t.status }}</td>
{% with v = t.kittendome_votes %}
@@ -43,3 +46,10 @@
{% endfor %}
</div>
{% endblock %}
+
+{% block bootstrap_js_bottom %}
+ {{ super() }}
+ <script type="text/javascript">
+ $(function() { $(".review-link").tooltip(); });
+ </script>
+{% endblock %}
View
2  pycon_bot/web/templates/talk_detail.html
@@ -7,6 +7,8 @@
{% block content %}
<h3>#{{ talk.talk_id }} - {{ talk.title }}</h3>
<dl class="dl-horizontal">
+ <dt>Details:</dt>
+ <dd><a href="{{ talk.review_url }}"><i class="icon-share"></i> view proposal</a></dd>
<dt>Status:</dt>
<dd>{{ talk.get_status_display() }}</dd>
<dt>K'dome votes:</dt>
View
11 pycon_bot/web/templates/talk_list.html
@@ -21,6 +21,9 @@
<a href="{{ url_for('talk_detail', n=t.talk_id) }}">
#{{ t.talk_id }} - {{ t.title }}
</a>
+ <a href="{{ t.review_url }}" class="review-link" title="Proposal details" target="_blank">
+ <i class="icon-share">&nbsp;</i>
+ </a>
</td>
<td>{{ t.status }}</td>
{% with v = t.kittendome_votes %}
@@ -33,3 +36,11 @@
</tbody>
</table>
{% endblock %}
+
+
+{% block bootstrap_js_bottom %}
+ {{ super() }}
+ <script type="text/javascript">
+ $(function() { $(".review-link").tooltip(); });
+ </script>
+{% endblock %}
Please sign in to comment.
Something went wrong with that request. Please try again.