This commit is contained in:
2009-09-09 10:47:34 -03:00
parent 3cd507b4f9
commit 391bb652ab
4 changed files with 26 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
= link_to("Disciplinas", courses_url) + "›"
= link_to(h(@course.full_name), course_url(@course)) + "›"
= link_to("Wiki", course_wiki_url(@course))
- if @wiki_page.title
- if @wiki_page.title?
= "›" + link_to(h(@wiki_page.title), course_wiki_instance_url(@course, @wiki_page))
- @title = @title + " - #{h(@wiki_page.title)}"

View File

@@ -16,4 +16,4 @@
%label{:for => 'wiki_page_description'} Descrição das alterações
%dd= text_field('wiki_page', 'description', { :size => '80' })
%dt= check_box('wiki_page', 'front_page') + " Exibir página wiki na página inicial do curso"
%dt= check_box('wiki_page', 'front_page') + " Exibir página wiki na página inicial do curso"