Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Sorting out the profile page when you have no entries
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbruniges committed Dec 4, 2012
1 parent c106cdf commit e624993
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions gameon/base/static/base/css/master.css
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
Expand Down
5 changes: 4 additions & 1 deletion gameon/users/templates/users/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -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.