21 lines
603 B
Plaintext
21 lines
603 B
Plaintext
- @title = "#{App.title}"
|
||
- @location = capture do
|
||
= link_to(App.title, index_url, :accesskey => 'z') + "›";
|
||
= link_to("Disciplinas", courses_url)
|
||
- if @course and @course.id
|
||
= "› "
|
||
=link_to(h(@course.full_name), course_url)
|
||
- @title = @title + " - #{h(@course.full_name)}"
|
||
- else
|
||
- @title = @title + " - Disciplinas"
|
||
|
||
- if @course and @course.id
|
||
- @left_panel = render 'courses/left_panel'
|
||
- @right_panel = render 'courses/right_panel'
|
||
- else
|
||
- @left_panel = render('widgets/menu_navigation') + render('widgets/menu_user')
|
||
|
||
- @content = yield
|
||
|
||
= render 'layouts/base'
|