Changeset 57f8ffa
- Timestamp:
- May 16, 2010, 2:44:43 AM (16 years ago)
- Branches:
- master, fysm-4-1, iframe, space-access, stable, stage, test-hooks
- Children:
- a426f62
- Parents:
- 1c853ea
- git-author:
- Alex Dehnert <adehnert@…> (05/16/10 02:44:43)
- git-committer:
- Alex Dehnert <adehnert@…> (05/16/10 02:44:43)
- Location:
- asadb
- Files:
-
- 5 edited
-
forms/models.py (modified) (1 diff)
-
forms/views.py (modified) (1 diff)
-
media/style/style.css (modified) (1 diff)
-
template/fysm/fysm_listing.html (modified) (2 diffs)
-
template/fysm/update_email.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
asadb/forms/models.py
r1c853ea r57f8ffa 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 15 logo = models.ImageField(upload_to='fysm/logos', blank=True, ) 16 categories = models.ManyToManyField('FYSMCategory', blank=True, ) 16 tags = models.CharField(max_length=100, blank=True, help_text="Specify some free-form, comma-delimited tags for your group", ) 17 categories = models.ManyToManyField('FYSMCategory', blank=True, help_text="Put your group into whichever of our categories seem applicable.", ) 17 18 18 19 class Meta: -
asadb/forms/views.py
rc27da9e r57f8ffa 95 95 'description', 96 96 'logo', 97 'tags', 97 98 'categories', 98 99 ) -
asadb/media/style/style.css
r80194d8 r57f8ffa 137 137 } 138 138 139 .single-fysm-entry .fysm-body 140 { 141 margin-bottom: 10px; 142 } 143 139 144 .single-fysm-entry .tags 140 145 { 141 margin: 10px 0px 0px;142 146 background: #ddd; 143 147 border-top: 1px solid #666; 144 148 padding: 4px; 149 margin: 0px; 145 150 text-align: center; 146 151 font-size: smaller; -
asadb/template/fysm/fysm_listing.html
r1c853ea r57f8ffa 23 23 <div class='single-fysm-entry'> 24 24 <h3><a href='{{fysm.website}}'>{{fysm.display_name}}</a></h3> 25 <div class='fysm-body'> 25 26 <div class='logo'> 26 27 {% if fysm.logo %} … … 32 33 <p class='data'>{{fysm.description}}</p> 33 34 <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> 35 </div> 36 {% if fysm.tags %} 37 <p class='tags'>tags: {{fysm.tags}}</p> 38 {% endif %} 34 39 {% if fysm.categories.all %} 35 40 <p class='tags'>categories: {{fysm|format_categories:year}}</p> -
asadb/template/fysm/update_email.txt
rc27da9e r57f8ffa 10 10 Join URL: {{fysm.join_url}} 11 11 Contact email: {{fysm.contact_email}} 12 Logo filename: {{fysm.logo}} 13 Tags: {{fysm.tags}} 12 14 Categories: {{fysm.categories.all}} 13 15
Note: See TracChangeset
for help on using the changeset viewer.