sponsor template + minor css
This commit is contained in:
parent
2194b0bf57
commit
89f138168e
|
@ -138,10 +138,7 @@ class ItfModel(models.Model):
|
|||
|
||||
def insidepage_dict(self, request):
|
||||
context = RequestContext(request, self.info_dict())
|
||||
try:
|
||||
html = render_to_string(self.get_template_path(), context)
|
||||
except:
|
||||
html = "Template path not found at : " + self.get_template_path()
|
||||
return {
|
||||
'url': self.get_absolute_url(),
|
||||
'title': self.get_title(),
|
||||
|
|
|
@ -113,7 +113,7 @@ text-align:center;
|
|||
padding-left:10px;
|
||||
padding-right:10px;
|
||||
float:left;
|
||||
border-bottom:1px solid #f0dfdf;}
|
||||
/*border-bottom:1px solid #f0dfdf;*/}
|
||||
|
||||
#selection
|
||||
{padding-left:6px;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{% load markup %}
|
||||
{% load thumbnail %}
|
||||
<link rel="stylesheet" href="/static/css/modules/tabsinnerright.css" type="text/css" />
|
||||
|
||||
<ul class="tabsInnerRight">
|
||||
|
@ -38,6 +39,15 @@
|
|||
<div class="tab_container">
|
||||
<div id="synopsis" class="tab_content">
|
||||
{{ meeting.intro|markdown }}
|
||||
|
||||
{% if sponsors %}
|
||||
Supported by: <br />
|
||||
{% for s in sponsors %}
|
||||
{% thumbnail s.logo "x30" crop="center" as thumb %}
|
||||
<a href="{{ s.url }}" target="_blank" /><img alt="{{ s.name }}" src="{{ thumb.url }}" /></a>
|
||||
{% endthumbnail %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<!--
|
||||
<iframe src="https://docs.google.com/spreadsheet/embeddedform?formkey=dFJqM3hGQWktT0tUbnVPZWhoY1g4N3c6MQ" width="600" height="1969" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe>
|
||||
-->
|
||||
|
@ -148,7 +158,7 @@
|
|||
<div id="gallery" class="tab_content">
|
||||
<!-- <h4 class="tabTitle">Gallery</h4> -->
|
||||
<div class="thumbsGallery">
|
||||
{% load thumbnail %}
|
||||
|
||||
{% for i in imagegallery %}
|
||||
{% thumbnail i.file "600x500" crop="center" as big %}
|
||||
{% thumbnail i.file "164x114" crop="center" as thumb %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user