Browse Source

frio: add notifications templates to frio

pull/3041/head
rabuzarus 4 years ago
parent
commit
51c9a66fc3
9 changed files with 50 additions and 5 deletions
  1. +24
    -5
      view/theme/frio/css/style.css
  2. +2
    -0
      view/theme/frio/templates/notifications_attend_item.tpl
  3. +2
    -0
      view/theme/frio/templates/notifications_comments_item.tpl
  4. +2
    -0
      view/theme/frio/templates/notifications_dislikes_item.tpl
  5. +2
    -0
      view/theme/frio/templates/notifications_friends_item.tpl
  6. +2
    -0
      view/theme/frio/templates/notifications_likes_item.tpl
  7. +2
    -0
      view/theme/frio/templates/notifications_network_item.tpl
  8. +2
    -0
      view/theme/frio/templates/notifications_posts_item.tpl
  9. +12
    -0
      view/theme/frio/templates/notify.tpl

+ 24
- 5
view/theme/frio/css/style.css View File

@ -1882,6 +1882,9 @@ ul.dropdown-menu li:hover {
-moz-box-shadow: 0 0 3px #dadada;
}
.section-title-wrapper {
overflow: hidden;
}
/* Profile-page */
#profile-content-standard,
#profile-content-advanced {
@ -2208,7 +2211,7 @@ ul li:hover .contact-wrapper a.contact-action-link:hover {
margin-left: 20px;
}
/* Notifications */
/* Intro Notifications */
ul.notif-network-list {
margin-left: -15px;
margin-right: -15px;
@ -2226,10 +2229,9 @@ ul.notif-network-list li.unseen {
word-wrap: break-word;
margin-top: 0;
}
.intro-photo-wrapper img.intro-photo,
.notif-item img.notif-image {
height:80px;
width: 80px;
.intro-photo-wrapper img.intro-photo {
height:48px;
width: 48px;
border-radius: 4px;
}
.intro-actions {
@ -2280,6 +2282,23 @@ ul.notif-network-list > li:hover .intro-action-buttons {
margin-top: 5px
}
/* Notifications Page */
.notif-item img.notif-image {
height: 48px;
width: 48px;
border-radius: 4px;
}
.notif-item .notif-desc-wrapper {
height: 48px;
}
.notif-item .notif-desc-wrapper a {
height: 100%;
display: block;
color: #555;
font-size: 13px;
font-weight: 600;
}
/* Search Page */
/* This is a little bit hacky. Since the search page is used for diferent


+ 2
- 0
view/theme/frio/templates/notifications_attend_item.tpl View File

@ -0,0 +1,2 @@
{{include file="notify.tpl"}}

+ 2
- 0
view/theme/frio/templates/notifications_comments_item.tpl View File

@ -0,0 +1,2 @@
{{include file="notify.tpl"}}

+ 2
- 0
view/theme/frio/templates/notifications_dislikes_item.tpl View File

@ -0,0 +1,2 @@
{{include file="notify.tpl"}}

+ 2
- 0
view/theme/frio/templates/notifications_friends_item.tpl View File

@ -0,0 +1,2 @@
{{include file="notify.tpl"}}

+ 2
- 0
view/theme/frio/templates/notifications_likes_item.tpl View File

@ -0,0 +1,2 @@
{{include file="notify.tpl"}}

+ 2
- 0
view/theme/frio/templates/notifications_network_item.tpl View File

@ -0,0 +1,2 @@
{{include file="notify.tpl"}}

+ 2
- 0
view/theme/frio/templates/notifications_posts_item.tpl View File

@ -0,0 +1,2 @@
{{include file="notify.tpl"}}

+ 12
- 0
view/theme/frio/templates/notify.tpl View File

@ -0,0 +1,12 @@
<div class="notif-item {{if !$item_seen}}unseen{{/if}} {{$item_label}} media">
<div class="notif-photo-wrapper media-object pull-left">
<img src="{{$item_image}}" class="notif-image">
</div>
<div class="notif-desc-wrapper media-body">
<a href="{{$item_link}}">
{{$item_text}}
<div><time class="notif-when time" data-toggle="tooltip">{{$item_when}}</time></div>
</a>
</div>
</div>

Loading…
Cancel
Save