BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
060a2e22
Commit
060a2e22
authored
Nov 07, 2011
by
Aleksei Kvitinskii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move tag path to the appropriate helper
parent
ac9afe0d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
tags_helper.rb
app/helpers/tags_helper.rb
+5
-0
_list.html.haml
app/views/projects/_list.html.haml
+1
-1
index.html.haml
app/views/tags/index.html.haml
+1
-1
No files found.
app/helpers/tags_helper.rb
0 → 100644
View file @
060a2e22
module
TagsHelper
def
tag_path
tag
"/tags/
#{
tag
}
"
end
end
app/views/projects/_list.html.haml
View file @
060a2e22
...
...
@@ -14,7 +14,7 @@
=
project
.
name
.small-tags
-
project
.
tag_list
.
each
do
|
tag
|
=
link_to
tag
,
"/tags/
#{
tag
}
"
=
link_to
tag
,
tag_path
(
tag
)
%td
=
truncate
project
.
url_to_repo
%td
=
project
.
code
...
...
app/views/tags/index.html.haml
View file @
060a2e22
...
...
@@ -7,5 +7,5 @@
.tags-list
-
@tags
.
all
.
each
do
|
tag
|
=
link_to
"
#{
tag
.
name
}
(
#{
tag
.
count
}
)"
,
"/tags/
#{
tag
.
name
}
"
=
link_to
"
#{
tag
.
name
}
(
#{
tag
.
count
}
)"
,
tag_path
(
name
)
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