Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
veNJOB
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
2
Merge Requests
2
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
Thanh Hung Pham
veNJOB
Commits
80f7a64f
Commit
80f7a64f
authored
Jul 11, 2017
by
Thanh Hung Pham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display applied jobs list
parent
ed45a8d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
19 deletions
+23
-19
app/views/jobs/applied_jobs.html.erb
+23
-19
No files found.
app/views/jobs/applied_jobs.html.erb
View file @
80f7a64f
...
@@ -2,23 +2,27 @@
...
@@ -2,23 +2,27 @@
<div
class=
"well"
>
<div
class=
"well"
>
<h2>
Applied Jobs
</h2>
<h2>
Applied Jobs
</h2>
<%-
@applied_jobs
.
each
do
|
apply
|
-%>
<div
class=
"table-responsive"
>
<div
class=
"row"
>
<table
class=
"table"
>
<%=
apply
.
job
.
name
%>
<thead>
</div>
<th>
Job
</th>
<div
class=
"row"
>
<th>
Description
</th>
<%=
truncate
(
apply
.
job
.
description
,
length:
250
)
%>
<th>
Location
</th>
</div>
<th
style=
"width: 150px;"
>
Salary
</th>
<div
class=
"row"
>
<th
style=
"width: 100px;"
>
Applied At
</th>
<div
class=
"col-md-4"
>
</thead>
<%=
apply
.
job
.
city
.
name
unless
apply
.
job
.
city
.
nil?
%>
<tbody>
</div>
<%-
@applied_jobs
.
each
do
|
apply
|
-%>
<div
class=
"col-md-4"
>
<tr>
<%=
apply
.
job
.
salary
%>
<td>
<%=
link_to
apply
.
job
.
name
,
jobs_detail_path
(
id:
apply
.
job
.
id
)
%>
</td>
</div>
<td>
<%=
truncate
(
apply
.
job
.
description
,
length:
250
)
%>
</td>
<div
class=
"col-md-4"
>
<td>
<%=
apply
.
job
.
city
.
name
unless
apply
.
job
.
city
.
nil?
%>
</td>
<%=
apply
.
applied_at
%>
<td>
<%=
apply
.
job
.
salary
%>
</td>
</div>
<td>
<%=
apply
.
applied_at
.
strftime
(
'%F'
)
%>
</td>
</div>
<td>
</td>
<%-
end
-%>
</tr>
<%-
end
-%>
</tbody>
</table>
</div>
</div>
</div>
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