You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

21 lines
593 B

- @title = "#{App.title}"
- @location = capture do
= link_to(App.title, "/") + "›";
= 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')
- end
- @content = yield
= render 'layouts/base'