fysm-4-1iframespace-accessstablestagetest-hooks
|
Last change
on this file since aaa8e04 was
aaa8e04,
checked in by Alex Dehnert <adehnert@…>, 15 years ago
|
|
Add a detail view of submissions
Currently, the iframe doesn't really render correctly, but it otherwise
basically works.
|
-
Property mode set to
100644
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | {% extends "base-plain.html" %} |
|---|
| 2 | {% load formcats %} |
|---|
| 3 | |
|---|
| 4 | {% block title %}{{fysm.display_name}} (FYSM){% endblock %} |
|---|
| 5 | {% block content %} |
|---|
| 6 | <div class='fysm-detail'> |
|---|
| 7 | <div class='single-fysm-entry'> |
|---|
| 8 | <h3><a href='{{fysm.website}}'>{{fysm.display_name}}</a></h3> |
|---|
| 9 | <div class='fysm-body'> |
|---|
| 10 | <div class='logo'> |
|---|
| 11 | {% if fysm.logo %} |
|---|
| 12 | <img src='{{ MEDIA_URL }}{{fysm.logo}}' alt='{{fysm.display_name}} logo' /> |
|---|
| 13 | {% else %} |
|---|
| 14 | <p>[ No logo ]</p> |
|---|
| 15 | {% endif %} |
|---|
| 16 | </div> |
|---|
| 17 | <p class='data'>{{fysm.description}}</p> |
|---|
| 18 | <p class='join'><a href='{{fysm.join_url}}'>Join {{fysm.display_name}}!</a> Have questions? Send them to <a href='mailto:{{fysm.contact_email}}'>{{fysm.contact_email}}</a>!</p> |
|---|
| 19 | </div> |
|---|
| 20 | {% if fysm.tags %} |
|---|
| 21 | <p class='tags'>tags: {{fysm.tags}}</p> |
|---|
| 22 | {% endif %} |
|---|
| 23 | {% if fysm.categories.all %} |
|---|
| 24 | <p class='tags'>categories: {{fysm|format_categories:year}}</p> |
|---|
| 25 | {% endif %} |
|---|
| 26 | </div> |
|---|
| 27 | <iframe src='{{fysm.join_url}}' class='fysm-join' height='100%'> |
|---|
| 28 | <p><a href='{{fysm.join_url}}'>Learn about joining {{fysm.display_name}}</a></p> |
|---|
| 29 | </iframe> |
|---|
| 30 | {% endblock %} |
|---|
| 31 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.