Skip to content

Commit

Permalink
Corriger la PR #3920 (#4070)
Browse files Browse the repository at this point in the history
  • Loading branch information
vhf committed Dec 14, 2016
1 parent d84755a commit 81b2b1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions assets/scss/layout/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,12 @@
text-align: left;
background: rgba(0, 0, 0, 0);

span {
display: inline-block;
height: 30px;
line-height: 26px;
button {
span {
display: inline-block;
height: 30px;
line-height: 26px;
}
}

&[data-num] {
Expand Down
1 change: 1 addition & 0 deletions zds/tutorialv2/views/views_published.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,7 @@ def post(self, request, *args, **kwargs):

if 'follow' in request.POST:
response['follow'] = self.perform_follow(user_to_follow, request.user)
response['subscriberCount'] = NewPublicationSubscription.objects.get_subscriptions(user_to_follow).count()
elif 'email' in request.POST:
response['email'] = self.perform_follow_by_email(user_to_follow, request.user)

Expand Down

0 comments on commit 81b2b1c

Please sign in to comment.