Skip to content
Extraits de code Groupes Projets
Valider 5722f85c rédigé par danielvincent's avatar danielvincent
Parcourir les fichiers

message in aspect if stream is empty

parent 32a0f60a
Branches
Étiquettes
Aucune requête de fusion associée trouvée
...@@ -11,6 +11,11 @@ ...@@ -11,6 +11,11 @@
%ul#stream %ul#stream
- for post in @posts - for post in @posts
= render type_partial(post), :post => post unless post.class == Album = render type_partial(post), :post => post unless post.class == Album
- if @posts.size == 0
.empty_message
.null_arrow
%h3 Nobody has said anything yet. Get the conversation started!
#pagination #pagination
= will_paginate @posts = will_paginate @posts
...@@ -753,3 +753,19 @@ ul#settings_nav { ...@@ -753,3 +753,19 @@ ul#settings_nav {
border-bottom: 1px solid #cccccc; } border-bottom: 1px solid #cccccc; }
#left_pane ul li a:hover:after { #left_pane ul li a:hover:after {
content: " ►"; } content: " ►"; }
.empty_message {
margin-top: 12px;
text-align: center;
color: #777777;
margin-left: 70px;
padding: 1em;
padding-top: 0;
width: 80%;
border: 2px dashed #777777;
border-radius: 5px; }
.empty_message h3 {
color: #777777; }
.empty_message .null_arrow {
font-size: 80px;
display: inline-block; }
...@@ -980,3 +980,27 @@ ul#settings_nav ...@@ -980,3 +980,27 @@ ul#settings_nav
&:hover &:hover
&:after &:after
:content " ►" :content " ►"
.empty_message
:margin
:top 12px
:text
:align center
:color #777
h3
:color #777
:margin
:left 70px
:padding 1em
:top 0
:width 80%
:border 2px dashed #777
:border-radius 5px
.null_arrow
:font
:size 80px
:display inline-block
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter