Skip to content

Commit

Permalink
fix favorites and sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
octavioamu committed Apr 1, 2020
1 parent 50ae524 commit f12b042
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions app/retail/templates/shared/activity.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@

{% if row.metadata.video and row.metadata.gfx != 'undefined' %}
<div id=meet{{row.pk}} class="click_here_to_join_video" data-roomname="meet{{row.pk}}" data-src='/static/v2/images/{{row.metadata.gfx}}'><img src='/static/v2/images/{{row.metadata.gfx}}'></div>

<p class='num_participants m-0 p-0' data-roomname="+roomName+">
<p class='m-0 p-0 indie_chat_indicator {% if row.video_participants_count == 0 %}offline{%endif%}'>
Expand Down Expand Up @@ -301,9 +300,8 @@
</a>
<a href=# data-action='favorite' data-toggle="tooltip" title="Mark as favorite this activity" data-affirmative=favorite
data-negative=unfavorite data-state="{% if row.favorite %}favorite{% else %}unfavorite{%endif%}" data-pk="{{row.pk}}"
class="favorite_activity mr-2 dropdown-item px-3 font-smaller-5"
>
{% if row.favorite %}
class="favorite_activity mr-2 dropdown-item px-3 font-smaller-5">
{% if row.metadata.favorite %}
<i class="fas fa-star mr-2"></i>
{% else %}
<i class="far fa-star mr-2"></i>
Expand Down
4 changes: 2 additions & 2 deletions app/townsquare/templates/townsquare/shared/feednav.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
</div>

<div class="townsquare_nav-list my-2 tribe">
<div class="townsquare_block-header" data-target="tribes">
<div class="townsquare_block-header" data-target="suggested-tribes">
Suggested Tribes
</div>
<div id="tribes">
<div id="suggested-tribes">
<ul class="nav d-inline-block font-body col-sm-9 pr-2" style="padding-right: 0">
{% for tribe in suggested_tribes %}
<li class="nav-item d-flex justify-content-between align-items-center my-3">
Expand Down

0 comments on commit f12b042

Please sign in to comment.