recruiter 1.1.14 → 1.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/recruiter/site.css.sass +1 -1
- data/app/controllers/recruiter/home_controller.rb +8 -0
- data/app/helpers/recruiter/links_helper.rb +1 -1
- data/app/views/recruiter/home/index.html.erb +21 -0
- data/config/routes.rb +1 -1
- data/lib/generators/templates/locales/recruiter.pt-BR.yml +6 -0
- data/lib/recruiter/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2a92c3533b4ca17a4aec0d7cfb3e6748a6468bb
|
4
|
+
data.tar.gz: 3d91a8e962dfbbf77078700567adb4a728761c01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72ffbde67cf36c86b5c202d38e2df06b7ff67a09a4fa8886218b2dc5669945a0e78f973118614e2a5f08edc6900b1ddc5e72d1be8fa541a14d761246da664add
|
7
|
+
data.tar.gz: 090962dde270d4dec27ee6c99a9d36347074bbc27d7e3a6ba8897346f2c221045b9a35b514a19491efeaa893e2813f2392d0acd2b9a8b80551d57e179b42f5ad
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module Recruiter
|
2
2
|
module LinksHelper
|
3
|
-
def button_link(url, classes = nil, options = {},
|
3
|
+
def button_link(url, classes = nil, options = {}, &block)
|
4
4
|
classes = [options[:class], 'button', classes].compact
|
5
5
|
options.merge! class: classes
|
6
6
|
link_to url, options, &block
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<div class="row">
|
2
|
+
<div id="jobs" class="small-12 medium-12 large-12 columns">
|
3
|
+
<h2><%= t('.title_jobs') %></h2>
|
4
|
+
<%= render @jobs %>
|
5
|
+
</div>
|
6
|
+
|
7
|
+
<%= button_link [:jobs], 'secondary expand' do %>
|
8
|
+
<%= t('.see_all_jobs') %>
|
9
|
+
<% end %>
|
10
|
+
</div>
|
11
|
+
|
12
|
+
<div class="row">
|
13
|
+
<div id="articles" class="small-12 medium-12 large-12 columns">
|
14
|
+
<h2><%= t('.title_articles') %></h2>
|
15
|
+
<%= render @articles %>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
<%= button_link [:articles], 'secondary expand' do %>
|
19
|
+
<%= t('.see_all_articles') %>
|
20
|
+
<% end %>
|
21
|
+
</div>
|
data/config/routes.rb
CHANGED
@@ -17,6 +17,12 @@
|
|
17
17
|
title: Vagas em aberto
|
18
18
|
job:
|
19
19
|
view: Visualizar
|
20
|
+
home:
|
21
|
+
index:
|
22
|
+
title_articles: Últimos artigos publicados
|
23
|
+
title_jobs: Últimas vagas publicadas
|
24
|
+
see_all_jobs: Ver todas
|
25
|
+
see_all_articles: Ver todos
|
20
26
|
filters:
|
21
27
|
title: Filtros
|
22
28
|
state: Estado
|
data/lib/recruiter/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recruiter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcelo Jacobus
|
@@ -359,6 +359,7 @@ files:
|
|
359
359
|
- app/assets/stylesheets/recruiter/variables.css.sass
|
360
360
|
- app/controllers/recruiter/articles_controller.rb
|
361
361
|
- app/controllers/recruiter/filters_controller.rb
|
362
|
+
- app/controllers/recruiter/home_controller.rb
|
362
363
|
- app/controllers/recruiter/jobs_controller.rb
|
363
364
|
- app/controllers/recruiter/omniauth_callbacks_controller.rb
|
364
365
|
- app/controllers/recruiter/users/articles_controller.rb
|
@@ -422,6 +423,7 @@ files:
|
|
422
423
|
- app/views/recruiter/articles/_article.html.erb
|
423
424
|
- app/views/recruiter/articles/index.html.erb
|
424
425
|
- app/views/recruiter/articles/show.html.erb
|
426
|
+
- app/views/recruiter/home/index.html.erb
|
425
427
|
- app/views/recruiter/jobs/_job.html.erb
|
426
428
|
- app/views/recruiter/jobs/index.html.erb
|
427
429
|
- app/views/recruiter/jobs/show.html.erb
|