Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
diaspora
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Milan
diaspora
Commits
9069fd23
Commit
9069fd23
authored
Mar 27, 2015
by
Steffen van Bergerem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 'no contacts in this aspect yet' message
parent
b69239ed
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
23 deletions
+6
-23
app/assets/stylesheets/contacts.scss
app/assets/stylesheets/contacts.scss
+1
-0
app/views/contacts/index.html.haml
app/views/contacts/index.html.haml
+3
-0
config/locales/diaspora/en.yml
config/locales/diaspora/en.yml
+2
-23
No files found.
app/assets/stylesheets/contacts.scss
View file @
9069fd23
...
...
@@ -57,6 +57,7 @@
text-align
:
center
;
margin-top
:
50px
;
}
.well
{
margin
:
20px
0
10px
;
}
}
}
...
...
app/views/contacts/index.html.haml
View file @
9069fd23
...
...
@@ -11,6 +11,9 @@
=
render
'contacts/header'
-
if
@contacts_size
>
0
-
if
@aspect
&&
@aspect
.
contacts
.
length
==
0
.well
=
t
(
'.no_contacts_in_aspect'
)
#contact_stream
-# JS
...
...
config/locales/diaspora/en.yml
View file @
9069fd23
...
...
@@ -187,10 +187,7 @@ en:
make_aspect_list_visible
:
"
Make
contacts
in
this
aspect
visible
to
each
other?"
remove_aspect
:
"
Delete
this
aspect"
confirm_remove_aspect
:
"
Are
you
sure
you
want
to
delete
this
aspect?"
add_existing
:
"
Add
an
existing
contact"
set_visibility
:
"
Set
visibility"
manage
:
"
Manage"
done
:
"
Done"
rename
:
"
Rename"
aspect_list_is_visible
:
"
Contacts
in
this
aspect
are
able
to
see
each
other."
aspect_list_is_not_visible
:
"
Contacts
in
this
aspect
are
not
able
to
see
each
other."
...
...
@@ -198,10 +195,6 @@ en:
aspect_chat_is_not_enabled
:
"
Contacts
in
this
aspect
are
not
able
to
chat
with
you."
update
:
"
Update"
updating
:
"
Updating"
aspect_contacts
:
done_editing
:
"
Finished
editing"
show
:
edit_aspect
:
"
Edit
aspect"
no_posts_message
:
start_talking
:
"
Nobody
has
said
anything
yet!"
no_contacts_message
:
...
...
@@ -214,11 +207,6 @@ en:
deselect_all
:
"
Deselect
all"
edit_aspect
:
"
Edit
%{name}"
add_an_aspect
:
"
+
Add
an
aspect"
selected_contacts
:
view_all_community_spotlight
:
"
See
all
community
spotlight"
view_all_contacts
:
"
View
all
contacts"
no_contacts
:
"
You
don’t
have
any
contacts
here
yet."
manage_your_aspects
:
"
Manage
your
aspects."
new
:
name
:
"
Name
(only
visible
to
you)"
create
:
"
Create"
...
...
@@ -231,17 +219,9 @@ en:
update
:
success
:
"
Your
aspect,
%{name},
has
been
successfully
edited."
failure
:
"
Your
aspect,
%{name},
had
too
long
name
to
be
saved."
move_contact
:
failure
:
"
Didn’t
work
%{inspect}"
success
:
"
Person
moved
to
new
aspect"
error
:
"
Error
moving
contact:
%{inspect}"
add_to_aspect
:
failure
:
"
Failed
to
add
contact
to
aspect."
success
:
"
Successfully
added
contact
to
aspect."
helper
:
remove
:
"
Remove"
aspect_not_empty
:
"
Aspect
not
empty"
are_you_sure
:
"
Are
you
sure
you
want
to
delete
this
aspect?"
seed
:
family
:
"
Family"
work
:
"
Work"
...
...
@@ -337,16 +317,15 @@ en:
your_contacts
:
"
Your
contacts"
no_contacts
:
"
Looks
like
you
need
to
add
some
contacts!"
no_contacts_message
:
"
Check
out
%{community_spotlight}"
no_contacts_message_with_aspect
:
"
Check
out
%{community_spotlight}
or
%{add_to_aspect_link}"
add_to_aspect_link
:
"
Add
contacts
to
%{name}"
community_spotlight
:
"
Community
spotlight"
no_contacts_in_aspect
:
"
You
don't
have
any
contacts
in
this
aspect
yet.
Below
is
a
list
of
your
existing
contacts
which
you
can
add
to
this
aspect."
my_contacts
:
"
My
contacts"
all_contacts
:
"
All
contacts"
only_sharing_with_me
:
"
Only
sharing
with
me"
add_contact
:
"
Add
contact"
remove_contact
:
"
Remove
contact"
many_people_are_you_sure
:
"
Are
you
sure
you
want
to
start
a
private
conversation
with
more
than
%{suggested_limit}
contacts?
Posting
to
this
aspect
may
be
a
better
way
to
contact
them."
user_search
:
"
User
search"
user_search
:
"
Contact
search"
spotlight
:
community_spotlight
:
"
Community
spotlight"
suggest_member
:
"
Suggest
a
member"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment