Skip to content

Commit

Permalink
Merge pull request #239 from wasade/hotfix_home_text
Browse files Browse the repository at this point in the history
Brief context on home and a hr for the footer
  • Loading branch information
wasade committed Jun 30, 2020
2 parents 1a918c4 + 879f195 commit 21f3f2d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions microsetta_private_api/templates/home.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
</div>
{% if email_verified %}
<div class="list-group">
<br/>
{% if accounts|length > 0 %}
Choose an account to use by clicking on an account entry listed below:
{% for account in accounts %}
<a href="/accounts/{{ account.account_id }}" class="list-group-item list-group-item-action">{{ account.email }}'s account</a>
<a href="/accounts/{{ account.account_id }}" class="btn btn-outline-info w-50 p-2">{{ account.email }}'s account</a>
{% endfor %} <!-- end of for account in accounts -->
{% else %}
<a href="/create_account" class="list-group-item list-group-item-action">
Click here to create a new account...
</a>
<a href="/create_account" class="btn btn-outline-info w-50 p-2">Click here to create a new account...</a>
{% endif %}
</div>
{% else %}
Expand Down
1 change: 1 addition & 0 deletions microsetta_private_api/templates/sitebase.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
{% if not admin_mode %}
<div>
<br />
<hr>
{% if not disable_faq %}
<p>
Questions? Check our <a href="/view_faq" target="_blank">FAQ</a>!
Expand Down

0 comments on commit 21f3f2d

Please sign in to comment.