Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Commit

Permalink
Fix minor formatting issue in programme events
Browse files Browse the repository at this point in the history
  • Loading branch information
evildmp committed Apr 6, 2015
1 parent 0e8017c commit 57952e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 1 addition & 3 deletions arkestra_utilities/static/arkestra/css/arkestra_lists.css
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,5 @@ ul.object-links li {
}

/* special rules for the programme item format for events only */
.plugin-list-item.programme .date {display: inline;}
.plugin-list-item.programme .date, .plugin-list-item.programme .title {display: inline;}
.plugin-list-item.programme .summary {display: block;}


Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{% extends "arkestra/generic_list_item.html" %}
{% load typogrify_tags %}
{% spaceless }
{% block item_title %}
{% if "programme" in item.format %}
{% if item.get_times %}<span class="date programme">{{ item.get_times|safe }}</span>{% endif %}
{% if item.get_times %}<span class="date programme">{{ item.get_times|safe }} </span>{% endif %}
{% if item.external_url %}
<a class="external title" href="{{ item.get_absolute_url }}">{{ item|amp|smartypants|caps|initial_quotes }}</a>
<span class="site-name"> {{ item.external_url.external_site|amp|smartypants|caps|initial_quotes }}</span>
<a class="external title" href="{{ item.get_absolute_url }}">{{ item|amp|smartypants|caps|initial_quotes }}</a> <span class="site-name"> {{ item.external_url.external_site|amp|smartypants|caps|initial_quotes }}</span>
{% elif not item.is_uninformative %}<a class="title" href="{{ item.informative_url }}">{{ item|amp|smartypants|caps|initial_quotes }}</a>
{% else %}
<span class="title">{{ item|amp|smartypants|caps|initial_quotes }}</span>
Expand Down Expand Up @@ -86,3 +86,4 @@
<span class="summary">{{ item.calculated_summary|amp|smartypants|caps|initial_quotes }}</span>
{% endif %}
{% endblock item_summary %}
{% endspaceless }

0 comments on commit 57952e4

Please sign in to comment.