Changeset 1c853ea
- Timestamp:
- May 16, 2010, 1:26:08 AM (16 years ago)
- Branches:
- master, fysm-4-1, iframe, space-access, stable, stage, test-hooks
- Children:
- 57f8ffa
- Parents:
- 2a6907a
- git-author:
- Alex Dehnert <adehnert@…> (05/16/10 01:26:08)
- git-committer:
- Alex Dehnert <adehnert@…> (05/16/10 01:26:08)
- Location:
- asadb
- Files:
-
- 2 edited
-
forms/models.py (modified) (1 diff)
-
template/fysm/fysm_listing.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
asadb/forms/models.py
rc27da9e r1c853ea 13 13 contact_email = models.EmailField(help_text="Give an address for students interested in joining the group to email (e.g., an officers list)") 14 14 description = models.TextField(help_text="Explain in about three or four sentences what your group does and why incoming freshmen should get involved.") 15 logo = models.ImageField(upload_to='fysm/logos', )15 logo = models.ImageField(upload_to='fysm/logos', blank=True, ) 16 16 categories = models.ManyToManyField('FYSMCategory', blank=True, ) 17 17 -
asadb/template/fysm/fysm_listing.html
rc27da9e r1c853ea 24 24 <h3><a href='{{fysm.website}}'>{{fysm.display_name}}</a></h3> 25 25 <div class='logo'> 26 {% if fysm.logo %} 26 27 <img src='{{ MEDIA_URL }}{{fysm.logo}}' alt='{{fysm.display_name}} logo' /> 28 {% else %} 29 <p>[ No logo ]</p> 30 {% endif %} 27 31 </div> 28 32 <p class='data'>{{fysm.description}}</p>
Note: See TracChangeset
for help on using the changeset viewer.