Changeset e0ed952
- Timestamp:
- Jul 7, 2013, 12:37:40 AM (12 years ago)
- Branches:
- master, stable, stage
- Children:
- 8948cef
- Parents:
- 8c0a2ff
- git-author:
- Alex Dehnert <adehnert@…> (07/07/13 00:37:40)
- git-committer:
- Alex Dehnert <adehnert@…> (07/07/13 00:37:40)
- Location:
- asadb
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
asadb/forms/models.py
r26826c9 re0ed952 18 18 description = models.TextField(help_text="Explain, in no more than 400 characters (including spaces), what your group does and why incoming students should get involved.") 19 19 logo = models.ImageField(upload_to='fysm/logos', blank=True, help_text="Upload a logo (JPG, GIF, or PNG) to display on the main FYSM page as well as the group detail page. This will be scaled to be 100px wide.") 20 slide = models.ImageField(upload_to='fysm/slides', default="", help_text="Upload a slide (JPG, GIF, or PNG) to display on the group detail page. This will be scaled to be at most 600x600 pixels. We recommend making it exactly that size.")20 slide = models.ImageField(upload_to='fysm/slides', blank=True, default="", help_text="Upload a slide (JPG, GIF, or PNG) to display on the group detail page. This will be scaled to be at most 600x600 pixels. We recommend making it exactly that size.") 21 21 tags = models.CharField(max_length=100, blank=True, help_text="Specify some free-form, comma-delimited tags for your group", ) 22 22 categories = models.ManyToManyField('FYSMCategory', blank=True, help_text="Put your group into whichever of our categories seem applicable.", ) -
asadb/forms/views.py
r83759bf re0ed952 153 153 'description', 154 154 'logo', 155 'slide',156 155 'tags', 157 156 'categories', -
asadb/template/fysm/fysm_listing.html
rbd2bc21 re0ed952 59 59 {% for fysm in fysm_list %} 60 60 <div class='single-fysm-entry'> 61 <h3><a href='{% url fysm-view year fysm.pk %}'>{{fysm.display_name}}</a></h3> 61 {% comment %} 62 If we were cooler, years when we had slides would still link them here. 63 We're not that cool, though, so we just always link the join page. 64 {% endcomment %} 65 <h3><a href='{% url fysm-link year "join" fysm.pk %}'>{{fysm.display_name}}</a></h3> 62 66 <div class='fysm-body'> 63 67 <div class='logo'>
Note: See TracChangeset
for help on using the changeset viewer.