Permalink
Browse files

Mostly cosmetic fixes

  • Loading branch information...
1 parent c0d8854 commit f8303f71bcfe907e131fd2b3bcfda2e9eb99e7ae @thenoviceoof committed Mar 4, 2012
Showing with 5 additions and 4 deletions.
  1. +2 −2 flyer.py
  2. +2 −1 static/css/list.css
  3. +1 −1 templates/orgs.html
View
@@ -185,7 +185,7 @@ def post(self):
if not(email.user):
email.user = user
# generate a new key
- email.user_request_key = generate_hash(str(email))
+ email.user_request_key = generate_random_hash(str(email))
email.user_request_time = datetime.today()
email.put()
@@ -510,7 +510,7 @@ def post(self, club_id):
flyer, made = None, None
while not(flyer) or not(made):
# randomly generate a flyer key
- flyer_key = generate_hash(club_id)[:10]
+ flyer_key = generate_random_hash(club_id)[:10]
flyer, made = get_or_make(Flyer, flyer_key)
flyer.id = flyer_key
# get the parameters
View
@@ -61,7 +61,8 @@ a.club-edit:visited {
.flyer-name {
display:inline-block;
- width:8em;
+ width:12em;
+ height:1em;
overflow:hidden;
}
.flyer-date {
View
@@ -14,7 +14,7 @@
<header>
<h2>
<a class="club-name" href="/flyer/{{ club.slug }}">
- {{ club.name }} - Post Flyer
+ {{ club.name }} - post flyer
</a>
</h2>
<a class="club-edit" href="/club/{{ club.slug }}">edit</a>

0 comments on commit f8303f7

Please sign in to comment.