Changeset 10a0db0
- Timestamp:
- 03/21/12 17:34:39 (14 months ago)
- Branches:
- social
- Children:
- 7e73757
- Parents:
- 1be868b (diff), 2359393 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- yomguy <yomguy@…> (03/21/12 17:34:39)
- git-committer:
- yomguy <yomguy@…> (03/21/12 17:34:39)
- Files:
-
- 4 edited
-
telemeta/templates/telemeta/inc/collection_related.html (modified) (2 diffs)
-
telemeta/templates/telemeta/inc/mediaitem_related.html (modified) (2 diffs)
-
example/sandbox_sqlite/settings.py (modified) (3 diffs)
-
telemeta/templates/telemeta/base.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
telemeta/templates/telemeta/inc/collection_related.html
rea5ec32 r2359393 1 1 {% load i18n %} 2 2 {% load telemeta_utils %} 3 {% load thumbnail %} 3 4 4 5 <div> … … 56 57 </td> 57 58 58 <td style="padding-bottom: 1em;">{% if media.is_image %} 59 {% if media.url %} 60 <a href="{{ media.url }}"> 61 <img src="{{ media.url }}" style="max-width: 420px; max-height: 200px;" /></a> 62 {% else %} 63 <a href="{% url telemeta-collection-related collection.public_id media.id %}"> 64 <img src="{% url telemeta-collection-related collection.public_id media.id %}" style="max-width: 420px; max-height: 200px;" /></a> 65 {% endif %} 59 <td style="padding-bottom: 1em;"> 60 {% if media.is_image %} 61 {% if media.file %} 62 <a href="{% url telemeta-collection-related collection.public_id media.id %}"> 63 {% thumbnail media.file "420" as im %} 64 <img src="{{ im.url }}" style="max-width: 420px; max-height: 200px;" /> 65 {% endthumbnail %} 66 </a> 67 {% else %} 68 <a href="{{ media.url }}"> 69 {% thumbnail media.url "420" as im %} 70 <img src="{{ im.url }}" style="max-width: 420px; max-height: 200px;" /> 71 {% endthumbnail %} 72 </a> 73 {% endif %} 66 74 {% else %} 67 75 {% if media.url %} -
telemeta/templates/telemeta/inc/mediaitem_related.html
rea5ec32 r2359393 1 1 {% load i18n %} 2 2 {% load telemeta_utils %} 3 {% load thumbnail %} 3 4 4 5 <div> … … 56 57 </td> 57 58 58 <td style="padding-bottom: 1em;">{% if media.is_image %} 59 {% if media.url %} 60 <a href="{{ media.url }}"> 61 <img src="{{ media.url }}" style="max-width: 420px; max-height: 200px;" /></a> 62 {% else %} 63 <a href="{% url telemeta-item-related item.public_id media.id %}"> 64 <img src="{% url telemeta-item-related item.public_id media.id %}" style="max-width: 420px; max-height: 200px;" /></a> 65 {% endif %} 59 <td style="padding-bottom: 1em;"> 60 {% if media.is_image %} 61 {% if media.file %} 62 <a href="{% url telemeta-item-related item.public_id media.id %}"> 63 {% thumbnail media.file "420" as im %} 64 <img src="{{ im.url }}" style="max-width: 420px; max-height: 200px;" /> 65 {% endthumbnail %} 66 </a> 67 {% else %} 68 <a href="{{ media.url }}"> 69 {% thumbnail media.url "420" as im %} 70 <img src="{{ im.url }}" style="max-width: 420px; max-height: 200px;" /> 71 {% endthumbnail %} 72 </a> 73 {% endif %} 66 74 {% else %} 67 75 {% if media.url %} -
example/sandbox_sqlite/settings.py
rb6c6871 r1be868b 85 85 'django.contrib.messages.middleware.MessageMiddleware', 86 86 'django.middleware.locale.LocaleMiddleware', 87 'pagination.middleware.PaginationMiddleware', 88 'django.contrib.auth.backends.ModelBackend', 89 'socialregistration.contrib.facebook.auth.FacebookAuth', 87 90 ) 88 91 … … 106 109 'jsonrpc', 107 110 'south', 111 'postman', 112 'pagination', 113 'socialregistration', 114 'socialregistration.contrib.facebook', 108 115 'sorl.thumbnail', 109 116 ) … … 131 138 EMAIL_HOST = 'localhost' 132 139 DEFAULT_FROM_EMAIL = 'webmaster@parisson.com' 140 141 POSTMAN_AUTO_MODERATE_AS=True 142 143 FACEBOOK_APP_ID = '348560078520326' 144 FACEBOOK_SECRET_KEY = 'f6204a5468be878bfce8f0007455c022' 145 FACEBOOK_REQUEST_PERMISSIONS = '' -
telemeta/templates/telemeta/base.html
rfabced9 r1f3e307 64 64 <img src="{% url telemeta-images "logout.png" %}" alt="logout" style="vertical-align:middle" /></a> 65 65 {% else %} 66 <div style="float: left;"> 66 67 <a href="{% url telemeta-flatpage "help" %}">{% trans "Help" %}</a> | 67 68 <a href="{% url telemeta-login %}?next={{ request.path|urlencode }}">{% trans "Sign in" %}</a> 69 </div> 70 <div style="float: right;;"> 71 {% load facebook %} 72 {% facebook_button %} 73 </div> 68 74 {% endif %} 69 75 </div>
Note: See TracChangeset
for help on using the changeset viewer.
