changeset 29:192d132064a5 cannam

* Add informational message about repository auto-creation (if no settings present yet)
author Chris Cannam
date Fri, 01 Oct 2010 15:33:14 +0100
parents 12420e46bed9
children d0edd5f981fd de76cd3e8c8e 33d69fee1d99
files app/views/projects/settings/_repository.rhtml
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/projects/settings/_repository.rhtml	Fri Oct 01 15:02:21 2010 +0100
+++ b/app/views/projects/settings/_repository.rhtml	Fri Oct 01 15:33:14 2010 +0100
@@ -6,6 +6,9 @@
 <%= error_messages_for 'repository' %>
 
 <div class="box tabular">
+<% if !@repository || !@repository.url %>
+<ul><li>The repository for a project will normally be set up automatically within a few minutes of the project being created.</li></ul>
+<% end %>
 <p><%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %></p>
 <%= repository_field_tags(f, @repository) if @repository %>
 </div>