This repository has been archived on 2022-08-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
wikiufc/app/views/layouts/wiki.html.haml

15 lines
540 B
Plaintext

- @title = "#{App.title} - #{h(@course.full_name)}"
- @location = capture do
= link_to(App.title, index_url) + "›"
= link_to("Disciplinas", courses_url) + "›"
= link_to(h(@course.full_name), course_url(@course)) + "›"
= link_to("Wiki", course_url(@course))
- if @wiki_page.title
= "›" + link_to(h(@wiki_page.title), course_wiki_url(@course, @wiki_page))
- @title = @title + " - #{h(@wiki_page.title)}"
- @left_panel = render 'courses/_left_panel'
- @content = yield
= render 'layouts/base'