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
iv
gitlab-ce
Commits
c66bc99f
Commit
c66bc99f
authored
Jan 10, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repo feed to partial
parent
3c9d7b70
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
14 deletions
+16
-14
app/views/repositories/_feed.html.haml
app/views/repositories/_feed.html.haml
+15
-0
app/views/repositories/show.html.haml
app/views/repositories/show.html.haml
+1
-14
No files found.
app/views/repositories/_feed.html.haml
0 → 100644
View file @
c66bc99f
%a
.project-update.titled
{
:href
=>
project_commits_path
(
project
,
:ref
=>
update
.
head
.
name
)}
=
image_tag
gravatar_icon
(
update
.
author_email
),
:class
=>
"left"
,
:width
=>
40
%span
.update-title
=
dashboard_feed_title
(
update
)
%span
.update-author
%strong
=
update
.
author_name
authored
=
time_ago_in_words
(
update
.
created_at
)
ago
.title-block
%span
.update-title
%span
.commit.tag
=
update
.
head
.
name
%span
.update-author
.left
=
truncate
update
.
commit
.
id
app/views/repositories/show.html.haml
View file @
c66bc99f
...
...
@@ -4,18 +4,5 @@
#news-feed
.news-feed
.project-box.project-updates.ui-box.ui-box-small.ui-box-big
-
@activities
.
each
do
|
update
|
%a
.project-update.titled
{
:href
=>
project_commits_path
(
@project
,
:ref
=>
update
.
head
.
name
)}
=
image_tag
gravatar_icon
(
update
.
author_email
),
:class
=>
"left"
,
:width
=>
40
%span
.update-title
=
dashboard_feed_title
(
update
)
%span
.update-author
%strong
=
update
.
author_name
authored
=
time_ago_in_words
(
update
.
created_at
)
ago
.title-block
%span
.update-title
%span
.commit.tag
=
update
.
head
.
name
%span
.update-author
.left
=
truncate
update
.
commit
.
id
=
render
"repositories/feed"
,
:update
=>
update
,
:project
=>
@project
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