Merge pull request #3687 from movilla/add_icon_mobile_my_activity
Add My Activity icon mobile. Close #3680
This commit is contained in:
commit
a78cacb799
4 changed files with 19 additions and 17 deletions
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
## Features
|
||||
|
||||
* Add "My Activity" icon mobile -[Author Icon](http://www.gentleface.com/free_icon_set.html)-. [#3687](https://github.com/diaspora/diaspora/pull/3687)
|
||||
* Add password_confirmation field to registration page. [#3647](https://github.com/diaspora/diaspora/pull/3647)
|
||||
* When posting to Twitter, behaviour changed so that URL to post will only be added to the post when length exceeds 140 chars or post contains uploaded photos.
|
||||
|
||||
|
|
|
|||
BIN
app/assets/images/icons/my_activity.png
Normal file
BIN
app/assets/images/icons/my_activity.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 663 B |
|
|
@ -292,6 +292,8 @@ body {
|
|||
|
||||
#nav_badges {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
padding: 4px 12px;
|
||||
}
|
||||
#nav_badges a:hover {
|
||||
text-decoration: none; }
|
||||
|
|
@ -603,7 +605,7 @@ select {
|
|||
.compose_icon {
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
margin-top: 3px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.navbar-inner .right {
|
||||
|
|
|
|||
|
|
@ -49,12 +49,11 @@
|
|||
.navbar-inner
|
||||
.container{:style => "position: relative;"}
|
||||
= link_to(image_tag('branding/header-logo2x.png', :height => 40, :width => 40, :id => 'header_title'), stream_path)
|
||||
- if user_signed_in?
|
||||
#header-nav
|
||||
.activity-nav
|
||||
= link_to(t('streams.activity.title'), activity_stream_path)
|
||||
|
||||
- if user_signed_in?
|
||||
#nav_badges
|
||||
.badge{:class => "badge-inverse", :id => "my_activity_badge"}
|
||||
= link_to(image_tag('icons/my_activity.png', :height => 16, :width => 16), activity_stream_path)
|
||||
.badge{:class => "badge-inverse", :id => "notification_badge"}
|
||||
= link_to(image_tag('icons/notifications_grey.png', :height => 16, :width => 16, :id => 'notification-flag'), notifications_path)
|
||||
- if current_user.unread_notifications.count > 0
|
||||
|
|
@ -69,9 +68,6 @@
|
|||
= link_to(image_tag('icons/search_grey.png', :height => 14, :width => 14), people_path)
|
||||
.badge{:class => "badge-inverse", :id => "contacts_badge"}
|
||||
= link_to(image_tag('icons/user_grey.png', :height => 16, :width => 16), contacts_path)
|
||||
|
||||
- if user_signed_in?
|
||||
.right
|
||||
- if yield(:header_action).present?
|
||||
= yield(:header_action)
|
||||
- else
|
||||
|
|
@ -79,6 +75,9 @@
|
|||
|
||||
#main.container{:role => "main"}
|
||||
.row
|
||||
- if current_page?(:activity_stream)
|
||||
%h3
|
||||
= t('streams.activity.title')
|
||||
= yield
|
||||
|
||||
- if user_signed_in?
|
||||
|
|
|
|||
Loading…
Reference in a new issue