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
Kazuhiko Shiozaki
gitlab-ce
Commits
9c60354a
Commit
9c60354a
authored
Apr 21, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make links and titles of atom feeds consistent.
parent
a6dfd065
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
31 additions
and
31 deletions
+31
-31
app/views/dashboard/issues.atom.builder
app/views/dashboard/issues.atom.builder
+2
-2
app/views/dashboard/show.atom.builder
app/views/dashboard/show.atom.builder
+4
-4
app/views/groups/issues.atom.builder
app/views/groups/issues.atom.builder
+3
-3
app/views/groups/show.atom.builder
app/views/groups/show.atom.builder
+4
-4
app/views/projects/commits/show.atom.builder
app/views/projects/commits/show.atom.builder
+7
-7
app/views/projects/commits/show.html.haml
app/views/projects/commits/show.html.haml
+1
-1
app/views/projects/issues/index.atom.builder
app/views/projects/issues/index.atom.builder
+2
-2
app/views/projects/show.atom.builder
app/views/projects/show.atom.builder
+4
-4
app/views/projects/tree/show.html.haml
app/views/projects/tree/show.html.haml
+1
-1
app/views/users/show.atom.builder
app/views/users/show.atom.builder
+2
-2
app/views/users/show.html.haml
app/views/users/show.html.haml
+1
-1
No files found.
app/views/dashboard/issues.atom.builder
View file @
9c60354a
xml.instruct!
xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.title "#{current_user.name} issues"
xml.title "#{current_user.name} issues"
xml.link href: issues_dashboard_url(:atom, private_token: current_user.private_token), rel: "self", type: "application/atom+xml"
xml.link href: issues_dashboard_url(
format:
:atom, private_token: current_user.private_token), rel: "self", type: "application/atom+xml"
xml.link href: issues_dashboard_url(private_token: current_user.private_token), rel: "alternate", type: "text/html"
xml.link href: issues_dashboard_url(private_token: current_user.private_token), rel: "alternate", type: "text/html"
xml.id issues_dashboard_url
(private_token: current_user.private_token)
xml.id issues_dashboard_url
xml.updated @issues.first.created_at.strftime("%Y-%m-%dT%H:%M:%SZ") if @issues.any?
xml.updated @issues.first.created_at.strftime("%Y-%m-%dT%H:%M:%SZ") if @issues.any?
@issues.each do |issue|
@issues.each do |issue|
...
...
app/views/dashboard/show.atom.builder
View file @
9c60354a
xml.instruct!
xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.title "
Dashboard feed#{" - #{current_user.name}" if current_user.name.present?}
"
xml.title "
Activity
"
xml.link href: dashboard_url(
:atom
), rel: "self", type: "application/atom+xml"
xml.link href: dashboard_url(
format: :atom, private_token: current_user.private_token
), rel: "self", type: "application/atom+xml"
xml.link href: dashboard_url, rel: "alternate", type: "text/html"
xml.link href: dashboard_url
(private_token: current_user.private_token)
, rel: "alternate", type: "text/html"
xml.id
projects
_url
xml.id
dashboard
_url
xml.updated @events.maximum(:updated_at).strftime("%Y-%m-%dT%H:%M:%SZ") if @events.any?
xml.updated @events.maximum(:updated_at).strftime("%Y-%m-%dT%H:%M:%SZ") if @events.any?
@events.each do |event|
@events.each do |event|
...
...
app/views/groups/issues.atom.builder
View file @
9c60354a
xml.instruct!
xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.title "#{@user.name} issues"
xml.title "#{@user.name} issues"
xml.link
:href => issues_dashboard_url(:atom, :private_token => @user.private_token), :rel => "self", :type =>
"application/atom+xml"
xml.link
href: issues_dashboard_url(format: :atom, private_token: @user.private_token), rel: "self", type:
"application/atom+xml"
xml.link
:href => issues_dashboard_url(:private_token => @user.private_token), :rel => "alternate", :type =>
"text/html"
xml.link
href: issues_dashboard_url(private_token: @user.private_token), rel: "alternate", type:
"text/html"
xml.id issues_dashboard_url
(:private_token => @user.private_token)
xml.id issues_dashboard_url
xml.updated @issues.first.created_at.strftime("%Y-%m-%dT%H:%M:%SZ") if @issues.any?
xml.updated @issues.first.created_at.strftime("%Y-%m-%dT%H:%M:%SZ") if @issues.any?
@issues.each do |issue|
@issues.each do |issue|
...
...
app/views/groups/show.atom.builder
View file @
9c60354a
xml.instruct!
xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.title "
Group feed - #{@group.name}
"
xml.title "
#{@group.name} activity
"
xml.link href: group_
path(@group, :atom
), rel: "self", type: "application/atom+xml"
xml.link href: group_
url(@group, format: :atom, private_token: current_user.private_token
), rel: "self", type: "application/atom+xml"
xml.link href: group_
path(@group
), rel: "alternate", type: "text/html"
xml.link href: group_
url(@group, private_token: current_user.private_token
), rel: "alternate", type: "text/html"
xml.id
projects_url
xml.id
group_url(@group)
xml.updated @events.maximum(:updated_at).strftime("%Y-%m-%dT%H:%M:%SZ") if @events.any?
xml.updated @events.maximum(:updated_at).strftime("%Y-%m-%dT%H:%M:%SZ") if @events.any?
@events.each do |event|
@events.each do |event|
...
...
app/views/projects/commits/show.atom.builder
View file @
9c60354a
xml.instruct!
xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.title "
Recent commits to #{@project.name}:#{@ref}
"
xml.title "
#{@project.name}:#{@ref} commits
"
xml.link
:href => namespace_project_commits_url(@project.namespace, @project, @ref, format: :atom), :rel => "self", :type =>
"application/atom+xml"
xml.link
href: namespace_project_commits_url(@project.namespace, @project, @ref, format: :atom, private_token: current_user.private_token), rel: "self", type:
"application/atom+xml"
xml.link
:href => namespace_project_commits_url(@project.namespace, @project, @ref), :rel => "alternate", :type =>
"text/html"
xml.link
href: namespace_project_commits_url(@project.namespace, @project, @ref, private_token: current_user.private_token), rel: "alternate", type:
"text/html"
xml.id namespace_project_commits_url(@project.namespace, @project, @ref)
xml.id namespace_project_commits_url(@project.namespace, @project, @ref)
xml.updated @commits.first.committed_date.strftime("%Y-%m-%dT%H:%M:%SZ") if @commits.any?
xml.updated @commits.first.committed_date.strftime("%Y-%m-%dT%H:%M:%SZ") if @commits.any?
@commits.each do |commit|
@commits.each do |commit|
xml.entry do
xml.entry do
xml.id namespace_project_commit_url(@project.namespace, @project,
:id =>
commit.id)
xml.id namespace_project_commit_url(@project.namespace, @project,
id:
commit.id)
xml.link
:href => namespace_project_commit_url(@project.namespace, @project, :id =>
commit.id)
xml.link
href: namespace_project_commit_url(@project.namespace, @project, id:
commit.id)
xml.title truncate(commit.title,
:length =>
80)
xml.title truncate(commit.title,
length:
80)
xml.updated commit.committed_date.strftime("%Y-%m-%dT%H:%M:%SZ")
xml.updated commit.committed_date.strftime("%Y-%m-%dT%H:%M:%SZ")
xml.media :thumbnail,
:width => "40", :height => "40", :url =>
avatar_icon(commit.author_email)
xml.media :thumbnail,
width: "40", height: "40", url:
avatar_icon(commit.author_email)
xml.author do |author|
xml.author do |author|
xml.name commit.author_name
xml.name commit.author_name
xml.email commit.author_email
xml.email commit.author_email
...
...
app/views/projects/commits/show.html.haml
View file @
9c60354a
=
content_for
:meta_tags
do
=
content_for
:meta_tags
do
-
if
current_user
-
if
current_user
=
auto_discovery_link_tag
(
:atom
,
namespace_project_commits_url
(
@project
.
namespace
,
@project
,
@ref
,
format: :atom
,
private_token:
current_user
.
private_token
),
title:
"
Recent commits to
#{
@project
.
name
}
:
#{
@ref
}
"
)
=
auto_discovery_link_tag
(
:atom
,
namespace_project_commits_url
(
@project
.
namespace
,
@project
,
@ref
,
format: :atom
,
private_token:
current_user
.
private_token
),
title:
"
#{
@project
.
name
}
:
#{
@ref
}
commits
"
)
=
render
"head"
=
render
"head"
...
...
app/views/projects/issues/index.atom.builder
View file @
9c60354a
xml.instruct!
xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.title "#{@project.name} issues"
xml.title "#{@project.name} issues"
xml.link
:href => namespace_project_issues_url(@project.namespace, @project, :atom), :rel => "self", :type =>
"application/atom+xml"
xml.link
href: namespace_project_issues_url(@project.namespace, @project, format: :atom, private_token: current_user.private_token), rel: "self", type:
"application/atom+xml"
xml.link
:href => namespace_project_issues_url(@project.namespace, @project), :rel => "alternate", :type =>
"text/html"
xml.link
href: namespace_project_issues_url(@project.namespace, @project, private_token: current_user.private_token), rel: "alternate", type:
"text/html"
xml.id namespace_project_issues_url(@project.namespace, @project)
xml.id namespace_project_issues_url(@project.namespace, @project)
xml.updated @issues.first.created_at.strftime("%Y-%m-%dT%H:%M:%SZ") if @issues.any?
xml.updated @issues.first.created_at.strftime("%Y-%m-%dT%H:%M:%SZ") if @issues.any?
...
...
app/views/projects/show.atom.builder
View file @
9c60354a
xml.instruct!
xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.title "
Project feed - #{@project.name}
"
xml.title "
#{@project.name} activity
"
xml.link href: namespace_project_
path(@project.namespace, @project, :atom
), rel: "self", type: "application/atom+xml"
xml.link href: namespace_project_
url(@project.namespace, @project, format: :atom, private_token: current_user.private_token
), rel: "self", type: "application/atom+xml"
xml.link href: namespace_project_
path(@project.namespace, @project
), rel: "alternate", type: "text/html"
xml.link href: namespace_project_
url(@project.namespace, @project, private_token: current_user.private_token
), rel: "alternate", type: "text/html"
xml.id
projects_url
xml.id
namespace_project_url(@project.namespace, @project)
xml.updated @events.maximum(:updated_at).strftime("%Y-%m-%dT%H:%M:%SZ") if @events.any?
xml.updated @events.maximum(:updated_at).strftime("%Y-%m-%dT%H:%M:%SZ") if @events.any?
@events.each do |event|
@events.each do |event|
...
...
app/views/projects/tree/show.html.haml
View file @
9c60354a
=
content_for
:meta_tags
do
=
content_for
:meta_tags
do
-
if
current_user
-
if
current_user
=
auto_discovery_link_tag
(
:atom
,
namespace_project_commits_url
(
@project
.
namespace
,
@project
,
@ref
,
format: :atom
,
private_token:
current_user
.
private_token
),
title:
"
Recent commits to
#{
@project
.
name
}
:
#{
@ref
}
"
)
=
auto_discovery_link_tag
(
:atom
,
namespace_project_commits_url
(
@project
.
namespace
,
@project
,
@ref
,
format: :atom
,
private_token:
current_user
.
private_token
),
title:
"
#{
@project
.
name
}
:
#{
@ref
}
commits
"
)
.tree-ref-holder
.tree-ref-holder
=
render
'shared/ref_switcher'
,
destination:
'tree'
,
path:
@path
=
render
'shared/ref_switcher'
,
destination:
'tree'
,
path:
@path
...
...
app/views/users/show.atom.builder
View file @
9c60354a
xml.instruct!
xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.title "
Activity feed for #{@user.name}
"
xml.title "
#{@user.name} activity
"
xml.link href: user_url(@user, :atom), rel: "self", type: "application/atom+xml"
xml.link href: user_url(@user, :atom), rel: "self", type: "application/atom+xml"
xml.link href: user_url(@user), rel: "alternate", type: "text/html"
xml.link href: user_url(@user), rel: "alternate", type: "text/html"
xml.id
projects_url
xml.id
user_url(@user)
xml.updated @events.maximum(:updated_at).strftime("%Y-%m-%dT%H:%M:%SZ") if @events.any?
xml.updated @events.maximum(:updated_at).strftime("%Y-%m-%dT%H:%M:%SZ") if @events.any?
@events.each do |event|
@events.each do |event|
...
...
app/views/users/show.html.haml
View file @
9c60354a
=
content_for
:meta_tags
do
=
content_for
:meta_tags
do
=
auto_discovery_link_tag
(
:atom
,
user_url
(
@user
,
format: :atom
),
title:
"
Activity feed for
#{
@user
.
name
}
"
)
=
auto_discovery_link_tag
(
:atom
,
user_url
(
@user
,
format: :atom
),
title:
"
#{
@user
.
name
}
activity
"
)
.row
.row
=
link_to
'#aside'
,
class:
'show-aside'
do
=
link_to
'#aside'
,
class:
'show-aside'
do
...
...
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