hackathon_manager 0.13.9 → 0.13.10
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/hackathon_manager/general/_flashes.sass +1 -0
- data/app/controllers/bus_lists_controller.rb +2 -2
- data/app/views/application/_bus_list_info.html.haml +1 -1
- data/app/views/rsvps/show.html.haml +14 -7
- data/lib/hackathon_manager/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aaa095607cc9ed17e594f173fcc0bd5ccc0826c3503d581b60a431b8e3816317
|
4
|
+
data.tar.gz: 2b46252b061915d80c1095246a3e78932765568cb55333b2e0b5c89df54aca35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f13ac65bb41516c115bd18d3de2925f66710500df32a559a9917211958f95b1ff7bad4fe4fc61cc4964124e6f02f4241e07780afc18c67a1de7d21f17d4ad19
|
7
|
+
data.tar.gz: f181edfd9e49c12405ed5bfa7733fb3628eac56f83456fd4707c2802f3426d7779be087ccec6593b23ef95f35fe420d11e159d5d9f9bd2d2a019f39ed5901144
|
@@ -3,7 +3,7 @@ class BusListsController < ApplicationController
|
|
3
3
|
before_action :check_user_has_questionnaire
|
4
4
|
before_action :find_questionnaire
|
5
5
|
before_action :find_bus_list
|
6
|
-
before_action :
|
6
|
+
before_action :require_bus_captain
|
7
7
|
|
8
8
|
layout 'hackathon_manager/application'
|
9
9
|
|
@@ -54,7 +54,7 @@ class BusListsController < ApplicationController
|
|
54
54
|
redirect_to root_path if current_user.questionnaire.nil?
|
55
55
|
end
|
56
56
|
|
57
|
-
def
|
57
|
+
def require_bus_captain
|
58
58
|
redirect_to root_path unless @questionnaire.is_bus_captain?
|
59
59
|
end
|
60
60
|
end
|
@@ -6,7 +6,9 @@
|
|
6
6
|
RSVP
|
7
7
|
%span.emphasized Preferences
|
8
8
|
- if @questionnaire.acc_status == "rsvp_confirmed" || @questionnaire.checked_in?
|
9
|
-
%strong
|
9
|
+
%strong
|
10
|
+
%span.fa.fa-check.icon-space-r-half
|
11
|
+
YOU ARE ATTENDING!
|
10
12
|
- if Rails.configuration.hackathon['thanks_for_rsvp']
|
11
13
|
%br
|
12
14
|
= markdown(Rails.configuration.hackathon['thanks_for_rsvp'])
|
@@ -14,7 +16,12 @@
|
|
14
16
|
%br
|
15
17
|
%br
|
16
18
|
- else
|
17
|
-
%strong
|
19
|
+
%strong
|
20
|
+
- if @questionnaire.acc_status == "accepted"
|
21
|
+
%span.fa.fa-clock-o.icon-space-r-half
|
22
|
+
- elsif @questionnaire.acc_status == "rsvp_denied"
|
23
|
+
%span.fa.fa-close.icon-space-r-half
|
24
|
+
= current_user.questionnaire.verbal_status.upcase
|
18
25
|
- if @questionnaire.acc_status == "rsvp_denied"
|
19
26
|
%p Sorry to hear you won't be with us this year.
|
20
27
|
- else
|
@@ -38,12 +45,12 @@
|
|
38
45
|
- if @questionnaire.acc_status == "rsvp_confirmed" || @questionnaire.checked_in?
|
39
46
|
%strong
|
40
47
|
- if @questionnaire.bus_list_id
|
41
|
-
|
48
|
+
%span.fa.fa-check.icon-space-r-half
|
49
|
+
YOU ARE RIDING THE BUS
|
42
50
|
- else
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
%br
|
51
|
+
%span.fa.fa-close.icon-space-r-half
|
52
|
+
YOU ARE NOT RIDING BUS
|
53
|
+
%br
|
47
54
|
|
48
55
|
%p
|
49
56
|
We are providing free, sponsored busses. Will you be riding?
|