Skip to content

Commit

Permalink
put a * next to state when locked.
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlFK committed Feb 6, 2016
1 parent 2fb05ef commit e85ccfe
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dj/main/templates/episodes_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<td> <a href="/databrowse/main/episode/fields/start/{{episode.start|date:"Y-m-d H:i:s"}}"> {{episode.start|date:"D d H:i"}} </a> </td>
<td>{{episode.end|date:"H:i"}}</td>
<td>{{episode.duration}}</td>
<td>{{episode.state}}</td>
<td>{{episode.state}}{{episode.locked|yesno:"*, "}}</td>
<td style="white-space:normal"><a href="E/{{episode.id}}/">{{ episode.name }}</a></td>
<td style="white-space:normal">{{episode.authors}}</td>
<td>{{episode.released}}</td>
Expand Down
2 changes: 1 addition & 1 deletion dj/main/templates/show.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<td> <a href="/databrowse/main/episode/fields/start/{{episode.start|date:"Y-m-d H:i:s"}}"> {{episode.start|date:"D d H:i"}} </a> </td>
<td>{{episode.end|date:"H:i"}}</td>
<td>{{episode.duration}}</td>
<td>{{episode.state}}</td>
<td>{{episode.state}}{{episode.locked|yesno:"*, "}}</td>
<td style="white-space:normal"><a href="E/{{episode.id}}/#ep-sm">{{ episode.name }}</a></td>
<td style="white-space:normal">{{episode.authors}}</td>
<td>{{episode.emails|yesno:"y,"}}</td>
Expand Down
23 changes: 23 additions & 0 deletions dj/scripts/email_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,29 @@ class email_url(email_ab):
Re-tweet it, blog it, whatever it. No point in making videos if no one watches them.
{% endif %}
"""

body_ryan = """
Your LCA2016 talk has been published on Youtube:
{{url}}
The video will shortly also be available as WebM on the LA mirror at http://mirror.linux.org.au/linux.conf.au/2016/
Please retweet, blog, share the video!
{% if ep.twitter.url %}
Your video has already been tweeted at: {{ ep.twitter_url }}
{% endif %}
If there are any issues with the video, please reply to this email.
Thanks,
LCA2016 AV Video Team
"""

body_body = body_ryan

py_name = "email_url.py"

def more_context(self, ep):
Expand Down
2 changes: 2 additions & 0 deletions dj/scripts/ia_uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ def get_metadata(self):
meta['description'].replace(u'\u2014','-')
meta['description'] = \
meta['description'].replace(u'\u201c','"')
meta['description'] = \
meta['description'].replace(u'\u201d','"')
meta['description'] = \
meta['description'].replace(u'\u2022',"o")

Expand Down

0 comments on commit e85ccfe

Please sign in to comment.