Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
scriptorium
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
24
Issues
24
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
degrowth
scriptorium
Commits
deb89553
Commit
deb89553
authored
Jul 04, 2018
by
jon richter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add missing parts to controller and view
parent
3033ebf3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
app/controllers/events_controller.rb
app/controllers/events_controller.rb
+10
-2
app/views/home/index.html.haml
app/views/home/index.html.haml
+7
-1
No files found.
app/controllers/events_controller.rb
View file @
deb89553
...
...
@@ -354,8 +354,16 @@ class EventsController < ApplicationController
@prefiltered_events
=
@conference
.
events
.
keynotes
when
'plenary_sessions'
@prefiltered_events
=
@conference
.
events
.
plenary_sessions
when
'highlights'
@prefiltered_events
=
@conference
.
events
.
highlights
when
'special_sessions'
@prefiltered_events
=
@conference
.
events
.
special_sessions
when
'lunchs'
@prefiltered_events
=
@conference
.
events
.
lunchs
when
'parties'
@prefiltered_events
=
@conference
.
events
.
parties
when
'demonstrations'
@prefiltered_events
=
@conference
.
events
.
demonstrations
when
'fikas'
@prefiltered_events
=
@conference
.
events
.
fikas
else
@prefiltered_events
=
@conference
.
events
end
...
...
app/views/home/index.html.haml
View file @
deb89553
...
...
@@ -64,7 +64,13 @@
|
=
link_to
"Individual Papers"
,
"#"
,
:id
=>
"events_individual_papers_only"
|
=
link_to
"Partys"
,
"#"
,
:id
=>
"events_Partys_only"
=
link_to
"Lunchs"
,
"#"
,
:id
=>
"events_lunchs_only"
|
=
link_to
"Parties"
,
"#"
,
:id
=>
"events_parties_only"
|
=
link_to
"Demonstrations"
,
"#"
,
:id
=>
"events_demonstrations_only"
|
=
link_to
"Fikas"
,
"#"
,
:id
=>
"events_fikas_only"
|
=
link_to
"Poster Presentations"
,
"#"
,
:id
=>
"events_poster_presentations_only"
|
...
...
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