tweak service providers and sponsers in conference

This commit is contained in:
Raghavendra Kamath
2018-02-22 17:09:23 +05:30
parent 4edc677117
commit 002c0d5f49
19 changed files with 227 additions and 272 deletions

View File

@@ -4,13 +4,11 @@
{% macro gold_member(m) %}
<div class="media {{ 'text-muted' if m.placeholder else '' }}" style="cursor: pointer;" onclick="location.href='{{ m.route }}'">
{% if m.image %}
<div class="media-left">
<a href="{{ m.route }}">
<img class="thumb-small media-object" src="{{ m.image or '/assets/foundation/img/gold.png' }}">
</a>
</div>
{% endif %}
<div class="media-body">
<h4 class="media-heading">{{ m.title }}</h4>
{{ m.introduction }}
@@ -19,7 +17,7 @@
{% endmacro %}
{% macro silver_member(m) %}
<div class="silver-member clickable {{ 'text-muted' if m.placeholder else '' }}"
<div class="box clickable {{ 'text-muted' if m.placeholder else '' }}"
style="cursor: pointer;" onclick="location.href='{{ m.route }}'">
<h4>{{ m.title }}</h4>
<p>{{ m.introduction | truncate(140) }}</p>

View File

@@ -26,6 +26,7 @@ def get_context(context):
context.gold_members.append(dict(
title='Your Company',
introduction='Become a Gold Member today and get your company featured here',
image='/assets/foundation/img/gold.png',
route='/members',
placeholder=True
))
@@ -43,6 +44,7 @@ def get_context(context):
context.silver_members.append(dict(
title='Your Company',
introduction='Become a silver Member today and get your company featured here',
image='/assets/foundation/img/silver.png',
route='/members',
placeholder=True
))