Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
16bd018f
Commit
16bd018f
authored
Nov 25, 2011
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clickable news feed on dashboard
parent
367c4f42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
17 deletions
+16
-17
app/views/dashboard/index.html.haml
app/views/dashboard/index.html.haml
+16
-17
No files found.
app/views/dashboard/index.html.haml
View file @
16bd018f
...
@@ -21,20 +21,19 @@
...
@@ -21,20 +21,19 @@
Dashboard
Dashboard
-
@active_projects
.
first
(
3
).
each
do
|
project
|
-
@active_projects
.
first
(
3
).
each
do
|
project
|
.project-box.project-updates.ui-box.ui-box-small.ui-box-big
.project-box.project-updates.ui-box.ui-box-small.ui-box-big
%h3
=
project
.
name
=
link_to
project
,
do
.data
%h3
=
project
.
name
-
project
.
updates
(
3
).
each
do
|
update
|
.data
%a
.project-update
{
:href
=>
dashboard_feed_path
(
project
,
update
)}
-
project
.
updates
(
3
).
each
do
|
update
|
=
image_tag
gravatar_icon
(
update
.
author_email
),
:class
=>
"left"
,
:width
=>
40
%a
.project-update
{
:href
=>
dashboard_feed_path
(
project
,
update
)}
%span
.update-title
=
image_tag
gravatar_icon
(
update
.
author_email
),
:class
=>
"left"
,
:width
=>
40
=
dashboard_feed_title
(
update
)
%span
.update-title
%span
.update-author
=
dashboard_feed_title
(
update
)
%strong
=
update
.
author_name
%span
.update-author
authored
%strong
=
update
.
author_name
=
time_ago_in_words
(
update
.
created_at
)
authored
ago
=
time_ago_in_words
(
update
.
created_at
)
.right
ago
-
klass
=
update
.
class
.
to_s
.
split
(
"::"
).
last
.
downcase
.right
%span
.tag
{
:class
=>
klass
}=
klass
-
klass
=
update
.
class
.
to_s
.
split
(
"::"
).
last
.
downcase
/ #news-feed
%span
.tag
{
:class
=>
klass
}=
klass
/ #dashboard-content
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