Skip to content

Commit

Permalink
Add badges for requesting activities
Browse files Browse the repository at this point in the history
  • Loading branch information
madprime committed Mar 6, 2020
1 parent 76cf1bd commit fc90a0b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion open_humans/templates/partials/activity-panel-info.html
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ <h2>Projects &amp; studies</h2>
<a href="{% url 'activity' req_project.slug %}">
<div class="d-flex justify-content-center">
<div>
<img src="{% static 'images/default-badge.png' %}" style="height:3rem;">
{% make_badge req_project 'activity-badge-h3rem' %}
</div>
</div>
<div class="d-flex justify-content-center">
Expand Down
4 changes: 4 additions & 0 deletions static/css/oh-proj-theming.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions static/scss/oh-proj-theming.scss
Original file line number Diff line number Diff line change
Expand Up @@ -327,4 +327,7 @@ btn.btn-xs {
/* Activity page specific */
.activity-badge-maxh10rem {
max-height:10rem;
}
.activity-badge-h3rem {
height:3rem;
}

0 comments on commit fc90a0b

Please sign in to comment.