Release/Update folders

This commit is contained in:
Alexey Nayden 2011-03-11 20:25:08 +03:00
parent 5bc5638934
commit 06d229a4b0
2 changed files with 5 additions and 1 deletions

View File

@ -23,6 +23,7 @@ class Repository < ActiveRecord::Base
raise "Directory #{path} already exists" if exists
if new_record?
FileUtils.mkdir_p(path)
%w(release updates).each { |subrep| FileUtils.mkdir_p(path + subrep) }
elsif unixname_changed?
FileUtils.mv(build_path(unixname_was), buildpath(unixname))
end

View File

@ -7,6 +7,9 @@
= t('layout.projects.git_repo_location')
= @project.git_repo_path
= link_to t('layout.projects.back_to_the_list'), platform_repository_path(@repository, @platform)
= link_to t('layout.projects.back_to_the_list'), platform_repository_path(@platform, @repository)
%br/
= link_to "git-repo", platform_repository_project_repo_path(@platform, @repository, @project)
%h2 Release
%h2 Updates