Permalink
Browse files

Sorting out the profile page when you have no entries

  • Loading branch information...
1 parent c106cdf commit e6249930b731bbf0fd2b32d9efa05d5c932ab4f0 @rossbruniges rossbruniges committed Dec 4, 2012
Showing with 8 additions and 1 deletion.
  1. +4 −0 gameon/base/static/base/css/master.css
  2. +4 −1 gameon/users/templates/users/profile.html
@@ -77,6 +77,10 @@ div[role=main] .busta {
width: 70%;
margin-right: 5%;
}
+#user_profile .main-col {
+ margin-right: 0;
+ margin-left: 5%;
+}
.mini-col {
float: left;
width: 25%;
@@ -35,9 +35,12 @@ <h1 class="busta shout">{{ profile.display_name }}</h1>
</li>
{% endfor %}
</ol>
+ {% else %}
+ <h2 class="announce">No entries yet</h2>
+ <p>Feels like now is a great time to <a class="cta" href="{{ url('submissions.create_entry') }}">submit a game</a></p>
+ {% endif %}
</div>
</div>
</div>
</section>
-{% endif %}
{% endblock %}

0 comments on commit e624993

Please sign in to comment.