menu_item :roadmap, :only => :roadmap
menu_item :files, :only => [:list_files, :add_file]
menu_item :settings, :only => :settings
- menu_item :issues, :only => [:changelog]
before_filter :find_project, :except => [ :index, :list, :add, :copy, :activity ]
before_filter :find_optional_project, :only => :activity
@containers += @project.versions.find(:all, :include => :attachments, :order => sort_clause).sort.reverse
render :layout => !request.xhr?
end
-
- # Show changelog for @project
- def changelog
- @trackers = @project.trackers.find(:all, :conditions => ["is_in_chlog=?", true], :order => 'position')
- retrieve_selected_tracker_ids(@trackers)
- @with_subprojects = params[:with_subprojects].nil? ? Setting.display_subprojects_issues? : (params[:with_subprojects] == '1')
- project_ids = @with_subprojects ? @project.self_and_descendants.collect(&:id) : [@project.id]
-
- @versions = @project.shared_versions.sort
-
- @issues_by_version = {}
- unless @selected_tracker_ids.empty?
- @versions.each do |version|
- conditions = {:tracker_id => @selected_tracker_ids, "#{IssueStatus.table_name}.is_closed" => true}
- if !@project.versions.include?(version)
- conditions.merge!(:project_id => project_ids)
- end
- issues = version.fixed_issues.visible.find(:all,
- :include => [:status, :tracker, :priority],
- :conditions => conditions,
- :order => "#{Tracker.table_name}.position, #{Issue.table_name}.id")
- @issues_by_version[version] = issues
- end
- end
- @versions.reject! {|version| !project_ids.include?(version.project_id) && @issues_by_version[version].empty?}
- end
def roadmap
- @trackers = @project.trackers.find(:all, :conditions => ["is_in_roadmap=?", true], :order => 'position')
- retrieve_selected_tracker_ids(@trackers)
+ @trackers = @project.trackers.find(:all, :order => 'position')
+ retrieve_selected_tracker_ids(@trackers, @trackers.select {|t| t.is_in_roadmap?})
@with_subprojects = params[:with_subprojects].nil? ? Setting.display_subprojects_issues? : (params[:with_subprojects] == '1')
project_ids = @with_subprojects ? @project.self_and_descendants.collect(&:id) : [@project.id]
render_404
end
- def retrieve_selected_tracker_ids(selectable_trackers)
+ def retrieve_selected_tracker_ids(selectable_trackers, default_trackers=nil)
if ids = params[:tracker_ids]
@selected_tracker_ids = (ids.is_a? Array) ? ids.collect { |id| id.to_i.to_s } : ids.split('/').collect { |id| id.to_i.to_s }
else
- @selected_tracker_ids = selectable_trackers.collect {|t| t.id.to_s }
+ @selected_tracker_ids = (default_trackers || selectable_trackers).collect {|t| t.id.to_s }
end
end
end
<%= link_to l(:label_issue_view_all), { :controller => 'issues', :action => 'index', :project_id => @project, :set_filter => 1 } %><br />
<% if @project %>
<%= link_to l(:field_summary), :controller => 'reports', :action => 'issue_report', :id => @project %><br />
-<%= link_to l(:label_change_log), :controller => 'projects', :action => 'changelog', :id => @project %><br />
<% end %>
<%= call_hook(:view_issues_sidebar_issues_bottom) %>
+++ /dev/null
-<h2><%=l(:label_change_log)%></h2>
-
-<% if @versions.empty? %>
-<p class="nodata"><%= l(:label_no_data) %></p>
-<% end %>
-
-<% @versions.each do |version| %>
- <%= tag 'a', :name => version.name %>
- <h3 class="icon22 icon22-package"><%= link_to_version version %></h3>
- <% if version.effective_date %>
- <p><%= format_date(version.effective_date) %></p>
- <% end %>
- <p><%=h version.description %></p>
- <% issues = version.fixed_issues.visible.find(:all,
- :include => [:status, :tracker, :priority],
- :conditions => ["#{Issue.table_name}.project_id = ? AND #{IssueStatus.table_name}.is_closed=? AND #{Issue.table_name}.tracker_id in (?)", @project.id, true, @selected_tracker_ids],
- :order => "#{Tracker.table_name}.position") unless @selected_tracker_ids.empty?
- issues ||= []
- %>
- <% if !issues.empty? %>
- <ul>
- <% issues.each do |issue| %>
- <li><%= link_to_issue(issue) %></li>
- <% end %>
- </ul>
- <% end %>
-<% end %>
-
-<% content_for :sidebar do %>
-<% form_tag({},:method => :get) do %>
-<h3><%= l(:label_change_log) %></h3>
-<% @trackers.each do |tracker| %>
- <label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %>
- <%= tracker.name %></label><br />
-<% end %>
-<% if @project.descendants.active.any? %>
- <%= hidden_field_tag 'with_subprojects', 0 %>
- <br /><label><%= check_box_tag 'with_subprojects', 1, @with_subprojects %> <%=l(:label_subproject_plural)%></label>
-<% end %>
-<p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
-<% end %>
-
-<h3><%= l(:label_version_plural) %></h3>
-<% @versions.each do |version| %>
-<%= link_to format_version_name(version), :anchor => version.name %><br />
-<% end %>
-<% end %>
<div class="box tabular">
<!--[form:tracker]-->
<p><%= f.text_field :name, :required => true %></p>
-<p><%= f.check_box :is_in_chlog %></p>
<p><%= f.check_box :is_in_roadmap %></p>
<% if IssueCustomField.all.any? %>
field_homepage: Начална страница
field_is_public: Публичен
field_parent: Подпроект на
- field_is_in_chlog: Да се вижда ли в Изменения
field_is_in_roadmap: Да се вижда ли в Пътна карта
field_login: Потребител
field_mail_notification: Известия по пощата
label_news_plural: Новини
label_news_latest: Последни новини
label_news_view_all: Виж всички
- label_change_log: Изменения
label_settings: Настройки
label_overview: Общ изглед
label_version: Версия
field_homepage: Naslovna strana
field_is_public: Javni
field_parent: Podprojekt od
- field_is_in_chlog: Aktivnosti prikazane u logu promjena
field_is_in_roadmap: Aktivnosti prikazane u planu realizacije
field_login: Prijava
field_mail_notification: Email notifikacije
label_news_latest: Posljednje novosti
label_news_view_all: Pogledaj sve novosti
label_news_added: Novosti su dodane
- label_change_log: Log promjena
label_settings: Postavke
label_overview: Pregled
label_version: Verzija
field_homepage: Pàgina web
field_is_public: Públic
field_parent: Subprojecte de
- field_is_in_chlog: Assumptes mostrats en el registre de canvis
field_is_in_roadmap: Assumptes mostrats en la planificació
field_login: Entrada
field_mail_notification: Notificacions per correu electrònic
label_news_latest: Últimes noticies
label_news_view_all: Visualitza totes les noticies
label_news_added: Noticies afegides
- label_change_log: Registre de canvis
label_settings: Paràmetres
label_overview: Resum
label_version: Versió
field_homepage: Homepage
field_is_public: Veřejný
field_parent: Nadřazený projekt
- field_is_in_chlog: Úkoly zobrazené v změnovém logu
field_is_in_roadmap: Úkoly zobrazené v plánu
field_login: Přihlášení
field_mail_notification: Emailová oznámení
label_news_latest: Poslední novinky
label_news_view_all: Zobrazit všechny novinky
label_news_added: Novinka přidána
- label_change_log: Protokol změn
label_settings: Nastavení
label_overview: Přehled
label_version: Verze
field_homepage: Hjemmeside
field_is_public: Offentlig
field_parent: Underprojekt af
- field_is_in_chlog: Sager vist i ændringer
field_is_in_roadmap: Sager vist i roadmap
field_login: Login
field_mail_notification: Email-påmindelser
label_news_latest: Seneste nyheder
label_news_view_all: Vis alle nyheder
label_news_added: Nyhed tilføjet
- label_change_log: Ændringer
label_settings: Indstillinger
label_overview: Oversigt
label_version: Udgave
field_homepage: Projekt-Homepage
field_is_public: Öffentlich
field_parent: Unterprojekt von
- field_is_in_chlog: Im Change-Log anzeigen
field_is_in_roadmap: In der Roadmap anzeigen
field_login: Mitgliedsname
field_mail_notification: Mailbenachrichtigung
label_news_latest: Letzte News
label_news_view_all: Alle News anzeigen
label_news_added: News hinzugefügt
- label_change_log: Change-Log
label_settings: Konfiguration
label_overview: Übersicht
label_version: Version
field_homepage: Αρχική σελίδα
field_is_public: Δημόσιο
field_parent: Επιμέρους έργο του
- field_is_in_chlog: Προβολή θεμάτων στο ιστορικό αλλαγών
field_is_in_roadmap: Προβολή θεμάτων στο χάρτη πορείας
field_login: Όνομα χρήστη
field_mail_notification: Ειδοποιήσεις email
label_news_latest: Τελευταία νέα
label_news_view_all: Προβολή όλων των νέων
label_news_added: Τα νέα προστέθηκαν
- label_change_log: Αλλαγή ιστορικού
label_settings: Ρυθμίσεις
label_overview: Επισκόπηση
label_version: Έκδοση
field_homepage: Homepage
field_is_public: Public
field_parent: Subproject of
- field_is_in_chlog: Issues displayed in changelog
field_is_in_roadmap: Issues displayed in roadmap
field_login: Login
field_mail_notification: Email notifications
label_news_latest: Latest news
label_news_view_all: View all news
label_news_added: News added
- label_change_log: Change log
label_settings: Settings
label_overview: Overview
label_version: Version
field_is_default: Estado por defecto
field_is_filter: Usado como filtro
field_is_for_all: Para todos los proyectos
- field_is_in_chlog: Consultar las peticiones en el histórico
field_is_in_roadmap: Consultar las peticiones en la planificación
field_is_public: Público
field_is_required: Obligatorio
label_browse: Hojear
label_bulk_edit_selected_issues: Editar las peticiones seleccionadas
label_calendar: Calendario
- label_change_log: Cambios
label_change_plural: Cambios
label_change_properties: Cambiar propiedades
label_change_status: Cambiar el estado
field_homepage: Kotisivu
field_is_public: Julkinen
field_parent: Aliprojekti
- field_is_in_chlog: Tapahtumat näytetään muutoslokissa
field_is_in_roadmap: Tapahtumat näytetään roadmap näkymässä
field_login: Kirjautuminen
field_mail_notification: Sähköposti muistutukset
label_news_plural: Uutiset
label_news_latest: Viimeisimmät uutiset
label_news_view_all: Näytä kaikki uutiset
- label_change_log: Muutosloki
label_settings: Asetukset
label_overview: Yleiskatsaus
label_version: Versio
field_homepage: Site web
field_is_public: Public
field_parent: Sous-projet de
- field_is_in_chlog: Demandes affichées dans l'historique
field_is_in_roadmap: Demandes affichées dans la roadmap
field_login: Identifiant
field_mail_notification: Notifications par mail
label_news_latest: Dernières annonces
label_news_view_all: Voir toutes les annonces
label_news_added: Annonce ajoutée
- label_change_log: Historique
label_settings: Configuration
label_overview: Aperçu
label_version: Version
field_is_default: Estado por defecto
field_is_filter: Usado como filtro
field_is_for_all: Para todos os proxectos
- field_is_in_chlog: Consultar as peticións no histórico
field_is_in_roadmap: Consultar as peticións na planificación
field_is_public: Público
field_is_required: Obrigatorio
label_browse: Ollar
label_bulk_edit_selected_issues: Editar as peticións seleccionadas
label_calendar: Calendario
- label_change_log: Cambios
label_change_plural: Cambios
label_change_properties: Cambiar propiedades
label_change_status: Cambiar o estado
field_homepage: דף הבית
field_is_public: פומבי
field_parent: תת פרויקט של
- field_is_in_chlog: נושאים המוצגים בדו"ח השינויים
field_is_in_roadmap: נושאים המוצגים במפת הדרכים
field_login: שם משתמש
field_mail_notification: הודעות דוא"ל
label_news_plural: חדשות
label_news_latest: חדשות אחרונות
label_news_view_all: צפה בכל החדשות
- label_change_log: דו"ח שינויים
label_settings: הגדרות
label_overview: מבט רחב
label_version: גירסא
field_homepage: Weboldal
field_is_public: Nyilvános
field_parent: Szülő projekt
- field_is_in_chlog: Feladatok látszanak a változás naplóban
field_is_in_roadmap: Feladatok látszanak az életútban
field_login: Azonosító
field_mail_notification: E-mail értesítések
label_news_latest: Legutóbbi hírek
label_news_view_all: Minden hír megtekintése
label_news_added: Hír hozzáadva
- label_change_log: Változás napló
label_settings: Beállítások
label_overview: Áttekintés
label_version: Verzió
field_homepage: Homepage
field_is_public: Pubblico
field_parent: Sottoprogetto di
- field_is_in_chlog: Segnalazioni mostrate nel changelog
field_is_in_roadmap: Segnalazioni mostrate nel roadmap
field_login: Login
field_mail_notification: Notifiche via e-mail
label_news_plural: Notizie
label_news_latest: Utime notizie
label_news_view_all: Tutte le notizie
- label_change_log: Elenco modifiche
label_settings: Impostazioni
label_overview: Panoramica
label_version: Versione
field_homepage: ホームページ
field_is_public: 公開
field_parent: 親プロジェクト名
- field_is_in_chlog: 変更履歴に表示されているチケット
field_is_in_roadmap: ロードマップに表示されているチケット
field_login: ログイン
field_mail_notification: メール通知
label_news_latest: 最新ニュース
label_news_view_all: 全てのニュースを見る
label_news_added: ニュースが追加されました
- label_change_log: 変更履歴
label_settings: 設定
label_overview: 概要
label_version: バージョン
field_homepage: 홈페이지
field_is_public: 공개
field_parent: 상위 프로젝트
- field_is_in_chlog: 일감 변경이력에 표시
field_is_in_roadmap: 로드맵에 표시
field_login: 로그인
field_mail_notification: 메일 알림
label_news_latest: 최근 뉴스
label_news_view_all: 모든 뉴스
label_news_added: 뉴스 추가
- label_change_log: 변경 이력
label_settings: 설정
label_overview: 개요
label_version: 버전
field_homepage: Pagrindinis puslapis
field_is_public: Viešas
field_parent: Priklauso projektui
- field_is_in_chlog: Darbai rodomi pokyčių žurnale
field_is_in_roadmap: Darbai rodomi veiklos grafike
field_login: Registracijos vardas
field_mail_notification: Elektroninio pašto pranešimai
label_news_latest: Paskutinės naujienos
label_news_view_all: Peržiūrėti visas žinias
label_news_added: Naujiena pridėta
- label_change_log: Pakeitimų žurnalas
label_settings: Nustatymai
label_overview: Apžvalga
label_version: Versija
field_is_default: Standaard
field_is_filter: Gebruikt als een filter
field_is_for_all: Voor alle projecten
- field_is_in_chlog: Issues weergegeven in wijzigingslog
field_is_in_roadmap: Issues weergegeven in roadmap
field_is_public: Publiek
field_is_required: Verplicht
label_browse: Blader
label_bulk_edit_selected_issues: Bewerk geselecteerde issues in bulk
label_calendar: Kalender
- label_change_log: Wijzigingslog
label_change_plural: Wijzigingen
label_change_properties: Eigenschappen wijzigen
label_change_status: Wijzig status
field_homepage: Hjemmeside
field_is_public: Offentlig
field_parent: Underprosjekt til
- field_is_in_chlog: Vises i endringslogg
field_is_in_roadmap: Vises i veikart
field_login: Brukernavn
field_mail_notification: E-post-varsling
label_news_latest: Siste nyheter
label_news_view_all: Vis alle nyheter
label_news_added: Nyhet lagt til
- label_change_log: Endringslogg
label_settings: Innstillinger
label_overview: Oversikt
label_version: Versjon
field_is_default: Domyślny status
field_is_filter: Atrybut filtrowania
field_is_for_all: Dla wszystkich projektów
- field_is_in_chlog: Zagadnienie pokazywane w zapisie zmian
field_is_in_roadmap: Zagadnienie pokazywane na mapie
field_is_public: Publiczny
field_is_required: Wymagane
label_browse: Przegląd
label_bulk_edit_selected_issues: Zbiorowa edycja zagadnień
label_calendar: Kalendarz
- label_change_log: Lista zmian
label_change_plural: Zmiany
label_change_properties: Zmień właściwości
label_change_status: Status zmian
field_homepage: Página inicial
field_is_public: Público
field_parent: Sub-projeto de
- field_is_in_chlog: Exibir na lista de alterações
field_is_in_roadmap: Exibir no planejamento
field_login: Usuário
field_mail_notification: Notificações por e-mail
label_news_latest: Últimas notícias
label_news_view_all: Ver todas as notícias
label_news_added: Notícia adicionada
- label_change_log: Registro de alterações
label_settings: Configurações
label_overview: Visão geral
label_version: Versão
field_homepage: Página
field_is_public: Público
field_parent: Sub-projecto de
- field_is_in_chlog: Tarefas mostradas no changelog
field_is_in_roadmap: Tarefas mostradas no roadmap
field_login: Nome de utilizador
field_mail_notification: Notificações por e-mail
label_news_latest: Últimas notícias
label_news_view_all: Ver todas as notícias
label_news_added: Notícia adicionada
- label_change_log: Change log
label_settings: Configurações
label_overview: Visão geral
label_version: Versão
field_homepage: Pagina principală
field_is_public: Public
field_parent: Sub-proiect al
- field_is_in_chlog: Tichete afișate în jurnalul de activitate
field_is_in_roadmap: Tichete afișate în plan
field_login: Autentificare
field_mail_notification: Notificări prin e-mail
label_news_latest: Ultimele știri
label_news_view_all: Afișează toate știrile
label_news_added: Adăugat
- label_change_log: Istoric
label_settings: Setări
label_overview: Pagină proiect
label_version: Versiune
field_is_default: Значение по умолчанию
field_is_filter: Используется в качестве фильтра
field_is_for_all: Для всех проектов
- field_is_in_chlog: Задачи, отображаемые в журнале изменений
field_is_in_roadmap: Задачи, отображаемые в оперативном плане
field_is_public: Общедоступный
field_is_required: Обязательное
label_calendar: Календарь
label_calendar_filter: Включая
label_calendar_no_assigned: не мои
- label_change_log: Журнал изменений
label_change_plural: Правки
label_change_properties: Изменить свойства
label_change_status: Изменить статус
field_homepage: Domovská stránka
field_is_public: Verejný
field_parent: Nadradený projekt
- field_is_in_chlog: Úlohy zobrazené v rozdielovom logu
field_is_in_roadmap: Úlohy zobrazené v pláne
field_login: Login
field_mail_notification: Emailové oznámenie
label_news_latest: Posledné novinky
label_news_view_all: Zobrazit všetky novinky
label_news_added: Novinka pridaná
- label_change_log: Protokol zmien
label_settings: Nastavenie
label_overview: Prehľad
label_version: Verzia
field_homepage: Domača stran
field_is_public: Javno
field_parent: Podprojekt projekta
- field_is_in_chlog: Zahtevki prikazani v zapisu sprememb
field_is_in_roadmap: Zahtevki prikazani na zemljevidu
field_login: Prijava
field_mail_notification: E-poštna oznanila
label_news_latest: Zadnje novice
label_news_view_all: Poglej vse novice
label_news_added: Dodane novice
- label_change_log: Zapisnik spremeb
label_settings: Nastavitve
label_overview: Pregled
label_version: Verzija
field_homepage: Homepage
field_is_public: Javni
field_parent: Potprojekat od
- field_is_in_chlog: Kartice se prikazuju u dnevniku promena
field_is_in_roadmap: Kartice se prikazuju u Redosledu
field_login: Korisnik
field_mail_notification: Obaveštavanje putem mail-a
label_news_plural: Novosti
label_news_latest: Poslednje novosti
label_news_view_all: Pregled svih novosti
- label_change_log: Dnevnik promena
label_settings: Podešavanja
label_overview: Pregled
label_version: Verzija
field_homepage: Hemsida
field_is_public: Publik
field_parent: Underprojekt till
- field_is_in_chlog: Visa ärenden i ändringslogg
field_is_in_roadmap: Visa ärenden i roadmap
field_login: Användarnamn
field_mail_notification: Mailnotifieringar
label_news_latest: Senaste nyheterna
label_news_view_all: Visa alla nyheter
label_news_added: Nyhet tillagd
- label_change_log: Ändringslogg
label_settings: Inställningar
label_overview: Överblick
label_version: Version
field_homepage: หน้าแรก
field_is_public: สาธารณะ
field_parent: โครงการย่อยของ
- field_is_in_chlog: ปัญหาแสดงใน รายกาเปลี่ยนแปลง
field_is_in_roadmap: ปัญหาแสดงใน แผนงาน
field_login: ชื่อที่ใช้เข้าระบบ
field_mail_notification: การแจ้งเตือนทางอีเมล์
label_news_latest: ข่าวล่าสุด
label_news_view_all: ดูข่าวทั้งหมด
label_news_added: ข่าวถูกเพิ่ม
- label_change_log: บันทึกการเปลี่ยนแปลง
label_settings: ปรับแต่ง
label_overview: ภาพรวม
label_version: รุ่น
field_homepage: Anasayfa
field_is_public: Genel
field_parent: 'Üst proje: '
- field_is_in_chlog: Değişim günlüğünde gösterilen iletiler
field_is_in_roadmap: Yol haritasında gösterilen iletiler
field_login: Giriş
field_mail_notification: E-posta uyarıları
label_news_latest: Son Haberler
label_news_view_all: Tüm haberleri oku
label_news_added: Haber eklendi
- label_change_log: Değişim Günlüğü
label_settings: Ayarlar
label_overview: Genel
label_version: Versiyon
field_homepage: Домашня сторінка
field_is_public: Публічний
field_parent: Підпроект
- field_is_in_chlog: Питання, що відображаються в журналі змін
field_is_in_roadmap: Питання, що відображаються в оперативному плані
field_login: Вхід
field_mail_notification: Повідомлення за електронною поштою
label_news_plural: Новини
label_news_latest: Останні новини
label_news_view_all: Подивитися всі новини
- label_change_log: Журнал змін
label_settings: Налаштування
label_overview: Перегляд
label_version: Версія
field_homepage: Trang chủ
field_is_public: Công cộng
field_parent: Dự án con của
- field_is_in_chlog: Có thể thấy trong Thay đổi
field_is_in_roadmap: Có thể thấy trong Kế hoạch
field_login: Đăng nhập
field_mail_notification: Thông báo qua email
label_news_latest: Tin mới
label_news_view_all: Xem mọi tin
label_news_added: Đã thêm tin
- label_change_log: Nhật ký thay đổi
label_settings: Thiết lập
label_overview: Tóm tắt
label_version: Phiên bản
field_homepage: 網站首頁
field_is_public: 公開
field_parent: 父專案
- field_is_in_chlog: 項目顯示於變更記錄中
field_is_in_roadmap: 項目顯示於版本藍圖中
field_login: 帳戶名稱
field_mail_notification: 電子郵件提醒選項
label_news_latest: 最近新聞
label_news_view_all: 檢視全部的新聞
label_news_added: 新聞已新增
- label_change_log: 變更記錄
label_settings: 設定
label_overview: 概觀
label_version: 版本
field_homepage: 主页
field_is_public: 公开
field_parent: 上级项目
- field_is_in_chlog: 在更新日志中显示问题
field_is_in_roadmap: 在路线图中显示问题
field_login: 登录名
field_mail_notification: 邮件通知
label_news_latest: 最近的新闻
label_news_view_all: 查看所有新闻
label_news_added: 新闻已添加
- label_change_log: 更新日志
label_settings: 配置
label_overview: 概述
label_version: 版本
project_views.connect 'projects.:format', :action => 'index'
project_views.connect 'projects/new', :action => 'add'
project_views.connect 'projects/:id', :action => 'show'
- project_views.connect 'projects/:id/:action', :action => /roadmap|changelog|destroy|settings/
+ project_views.connect 'projects/:id/:action', :action => /roadmap|destroy|settings/
project_views.connect 'projects/:id/files', :action => 'list_files'
project_views.connect 'projects/:id/files/new', :action => 'add_file'
project_views.connect 'projects/:id/versions/new', :action => 'add_version'
# Issue categories
map.permission :manage_categories, {:projects => [:settings, :add_issue_category], :issue_categories => [:edit, :destroy]}, :require => :member
# Issues
- map.permission :view_issues, {:projects => [:changelog, :roadmap],
+ map.permission :view_issues, {:projects => :roadmap,
:issues => [:index, :changes, :show, :context_menu],
:versions => [:show, :status_by],
:queries => :index,
:controller => 'projects', :action => 'list_files', :id => '33'
)
end
-
- def test_changelog_routing
- assert_routing(
- {:method => :get, :path => '/projects/44/changelog'},
- :controller => 'projects', :action => 'changelog', :id => '44'
- )
- end
-
- def test_changelog
- get :changelog, :id => 1
- assert_response :success
- assert_template 'changelog'
- assert_not_nil assigns(:versions)
- end
-
- def test_changelog_showing_subprojects_versions
- get :changelog, :id => 1, :with_subprojects => 1
- assert_response :success
- assert_template 'changelog'
- assert_not_nil assigns(:versions)
- # Version on subproject appears
- assert assigns(:versions).include?(Version.find(4))
- end
def test_roadmap_routing
assert_routing(