Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
venjob_nth
Overview
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
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ngô Trung Hưng
venjob_nth
Commits
5464c652
Commit
5464c652
authored
Aug 21, 2020
by
Ngô Trung Hưng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ajax header
parent
1872940f
Pipeline
#984
canceled with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/views/layouts/_header.html.erb
+2
-2
No files found.
app/views/layouts/_header.html.erb
View file @
5464c652
...
...
@@ -10,8 +10,8 @@
<div
class=
"header_top_menu_right"
>
<ul
class=
"list_menu_header_right"
>
<li
class=
"list_item_menu_header_right"
>
<%=
link_to_if
(
!
user_signed_in?
,
t
(
'pages.index.favorite'
),
favorite_index_path
,
class:
'link_item_menu_header_right
number_favorite
'
)
do
link_to
"(
#{
current_user
.
favorites
.
count
}
)
#{
t
(
'pages.index.favorite'
)
}
"
,
favorite_index_path
,
class:
'link_item_menu_header_right'
<%=
link_to_if
(
!
user_signed_in?
,
t
(
'pages.index.favorite'
),
favorite_index_path
,
class:
'link_item_menu_header_right'
)
do
link_to
"(
#{
current_user
.
favorites
.
count
}
)
#{
t
(
'pages.index.favorite'
)
}
"
,
favorite_index_path
,
class:
'link_item_menu_header_right
number_favorite
'
end
%>
</li>
<li
class=
"list_item_menu_header_right"
>
...
...
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