Paginas wiki, arquivos e disciplinas ocultas
This commit is contained in:
@@ -15,3 +15,5 @@
|
||||
%dt
|
||||
%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"
|
||||
|
||||
16
app/views/wiki/index.html.haml
Normal file
16
app/views/wiki/index.html.haml
Normal file
@@ -0,0 +1,16 @@
|
||||
.cmd
|
||||
= action_icon 'add', 'Adicionar', new_course_wiki_instance_url(@course)
|
||||
|
||||
%h4.title= h(@course.full_name)
|
||||
%h1.title Páginas Wiki
|
||||
|
||||
.box.div_news
|
||||
- if !@course.wiki_pages.empty?
|
||||
%ul
|
||||
- @course.wiki_pages.find(:all, :order => 'title').each do |w|
|
||||
%li= link_to(w.title, course_wiki_instance_url(@course, w))
|
||||
|
||||
- else
|
||||
.box
|
||||
%ul
|
||||
%li.no_itens Nenhuma página wiki
|
||||
Reference in New Issue
Block a user