Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Some css fixes for calendar.

  • Loading branch information...
commit fcbc9dcf00dc2a76fcd5b360a7f197f0bac8b6d3 1 parent 6da6b1c
Ethan Holda authored
Showing with 14 additions and 20 deletions.
  1. +3 −0  static/css/tc.gam.main.css
  2. +11 −20 templates/calendar.html
View
3  static/css/tc.gam.main.css
@@ -7399,6 +7399,9 @@ div.continent.calendar .midlands > .east {
width: 600px;
}
+div.continent.calendar .event-stack li > div {
+ width: 100%;
+}
/* Terms Of Use */
View
31 templates/calendar.html
@@ -26,7 +26,7 @@
<span>Next</span><span class="sm-arrow-forward light"></span>
</a>
</span>
- </div>
+ </div>
<ol class="event-stack">
{% for event in d.template_data.calendar.events %}
<li class="event" data-id="{{ event.id }}">
@@ -61,30 +61,21 @@
</div>
</div>
- <div class="event-rsvp">
- {% if event.rsvp_url|length > 0 %}
- <a href="{{ event.rsvp_url }}" target="_blank" class="rsvp-link">RSVP{% if event.rsvp_service_name %} <span class="rsvp-site">on <span class="rsvp-site-name">{{ event.rsvp_service_name }}</span></span>{% endif %}</a>
- {% endif %}
-
- {% if event.needs|length > 0 %}
- {% with need=event.needs[0] %}
- <span class="event-need serif">We need <a href="#show,need-detail,{{ need.id }}" class="vol-need"><span class="vol-count">{{ need.quantity }}</span> volunteer {{ need.request }}</a></span>
- <span class="more-event-needs"><a href="#show,event-needs,{{ event.id }}">Show all needs for this event<span class="sm-arrow-forward dark"></span></a></span>
- {% endwith %}
- {% endif %}
- </div>
-
-
- <div class="empty-state-box" style="display:none;">
- <!--<a class="close" href="#"><span>Close</span></a>-->
- <p>No events found.</p>
- </div>
</div>
</div>
</li>
{% else %}
- {#% include "project/empty_events_list.html" %#}
+ <li class="box event">
+ <div class="clearfix">
+ <div class="empty-state-box big">
+ <p>There are no Change By Us events in this month.</a>
+ {% if (d.template_data.calendar.is_active_month) %}
+ <p>Contact your project admins to see how you can help!</p>
+ {% endif %}
+ </div>
+ </div>
+ </li>
{% endfor %}
</ol>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.