Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing up the comments from @andrewhayward - and also cleaning up a f…

…ew things I noticed along the way
  • Loading branch information...
commit af0376f21279d219ac57e04f94e4626beab86b5a 1 parent 777649d
@rossbruniges rossbruniges authored
2  gameon/base/static/base/css/home.css
@@ -221,7 +221,7 @@ div[role=main] .big-picture .busta {
.participate article footer {
padding: 44px 40px 30px 40px;
border-radius: 0 0 16px 16px;
- background: #000a14 url('/static/base/img/css//homepage-footer_bg.gif') repeat-x top left;
+ background: #000a14 url('/static/base/img/css/homepage-footer_bg.gif') repeat-x top left;
position: absolute;
top: 100%;
left: 0;
3  gameon/static_site/templates/static_site/prizes.html
@@ -21,6 +21,7 @@ <h3 class="exclaim">Grand Champion</h3>
<li><span>Get the red carpet treatment! Roundtrip airfare, 7 nights of hotel accomodations in San Francisco, two all-access tickets to GDC 2013 -- which includes entry to the Indie Game Developer Conference -- and more</span></li>
<li><span>Dinner with EA's award-winning game developer Michael John</span></li>
<li><span>A tour of Mozilla's headquarters in Mountain View and lunch with the Mozilla games team</span></li>
+ <li><span>A Nvidia GeForce GTX690</span></li>
@@ -38,11 +39,11 @@ <h3 class="exclaim">Best Learning Game (Head of Class)</h3>
<h3 class="exclaim">Best Multi-Device Game (Mobileet)</h3>
<p>Awarded to the games that use the power of the mobile phones and cross-device play to enhance assymetric gameplay and location based mechanics.</p>
+ <p>All category winners will get a Nvidia GeForce GTX670</p>
<div class="mini-col meta">
<h3 class="whimper">All prizes will receive:</h3>
<ul class="checks">
- <li>Nvidia GeForce GTX670</li>
<li>The chance to have your game featured in the <a href="{{ url('static_site.faqs') }}#firefox-marketplace">Firefox Marketplace</a></li>
<li>The opportunity to show your game to the awesome folks at <a href="">Chillingo</a> for a chance to have it published on their network</li>
<li>One year membership to top industry associations <a href="">IGDA</a> and <a href="">UKIE</a></li>
3  gameon/submissions/templates/submissions/create.html
@@ -23,6 +23,9 @@ <h1 class="busta shout">{% block view_title %}Submit Your Game{% endblock %}</h1
<label for="id_title" class="announce">
Game name
{% for error in form.title.errors %}<em>{{ error }}</em>{% endfor %}
+ {% if mode == 'edit' %}
+ <span class="extra meta">If you change the game URL and if you or anyone is linking to the games page on Game On the URL be broken</span>
+ {% endif %}
{{ form.title }}
7 gameon/submissions/
@@ -54,24 +54,25 @@ def edit_entry(request, slug, template='submissions/edit.html'):
form = EntryForm(request.POST, request.FILES, instance=entry)
if form.is_valid():
entry =
- new_slug = slugify(entry.title)
- entry.slug = new_slug
+ entry.slug = slugify(entry.title)
if entry.to_market == True:
return HttpResponseRedirect(settings.MARKETPLACE_URL)
messages.success(request, _('<strong>Game edited!</strong>'))
return HttpResponseRedirect(reverse('submissions.entry_single',
- kwargs={'slug': new_slug}))
+ kwargs={'slug': slugify(entry.title)}))
data = {
'categories': Category.objects.all(),
'form': form,
+ 'mode': 'edit',
data = {
'categories': Category.objects.all(),
'form': EntryForm(instance=entry),
+ 'mode': 'edit',
return render(request, template, data)
Please sign in to comment.
Something went wrong with that request. Please try again.