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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
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
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/helpers/tags_helper.rb
app/helpers/tags_helper.rb
+5
-0
app/views/projects/_list.html.haml
app/views/projects/_list.html.haml
+1
-1
app/views/tags/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