-
-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
activity stream DRY & cleanup #5041
Changes from 3 commits
14a3ab5
5692c37
9dd3b62
4b19a67
82e30ac
a938c7b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
#activity_stream .avatar { | ||
.activity_stream .avatar { | ||
width: 50px; | ||
height: 50px; | ||
margin: 0px auto; | ||
|
@@ -17,14 +17,21 @@ | |
height: 80px; | ||
} | ||
|
||
.activity .secondary_avatar { | ||
width: 3.125rem; | ||
height: 3.125rem; | ||
top: 1rem; | ||
right: 0rem; | ||
position: absolute; | ||
} | ||
|
||
.funder-avatar, | ||
.activity-avatar { | ||
text-align: center; | ||
} | ||
|
||
.funder-avatar, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this can be removed I think There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. looks like this is the reason why travis is complaining There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just pushed up a fix |
||
.activity div { | ||
margin: auto; | ||
} | ||
|
||
.last-icon { | ||
|
@@ -43,3 +50,16 @@ | |
.activity.new_kudos .activity-tags .tag { | ||
display: none; | ||
} | ||
|
||
@media (max-width: 767.98px) { | ||
|
||
.activity-info { | ||
text-align: center; | ||
} | ||
|
||
.activity_stream .activity .avatar.secondary_avatar { | ||
position: unset; | ||
margin-left: -20px; | ||
margin-top: 20px; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,3 @@ | ||
{% for activity in activities %} | ||
{% if activity.tip %} | ||
{% include "shared/profile_activities_tip.html" with tip=activity.tip %} | ||
{% elif activity.bounty %} | ||
{% include "shared/profile_activities_bounty.html" %} | ||
{% elif activity.grant %} | ||
{% include "shared/profile_activities_grant.html" %} | ||
{% elif activity.subscription %} | ||
{% include "shared/profile_activities_subscription.html" %} | ||
{% else %} | ||
{% include "shared/profile_activities_misc.html" %} | ||
{% endif %} | ||
{% include 'shared/activity.html' with row=activity %} | ||
{% endfor %} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yay