From: Sascha Peilicke
---
src/webui/app/views/project/prjconf.html.erb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/webui/app/views/project/prjconf.html.erb b/src/webui/app/views/project/prjconf.html.erb
index b579ba6..2cdb276 100644
--- a/src/webui/app/views/project/prjconf.html.erb
+++ b/src/webui/app/views/project/prjconf.html.erb
@@ -7,8 +7,8 @@
<h3><%= @pagetitle %></h3>
<div style="margin-left: 15px; margin-right: 15px;">
<% if @project.can_edit?(session[:login]) %>
- <%= render :partial => "shared/editor", :locals => {:text => @config, :mode => 'prjconf', :save => {:url => {:controller => 'project', :action => 'save_prjconf'}, :data => {:project => @project, :config => '@@@'}}} %>
+ <%= render :partial => "shared/editor", :locals => {:text => @config, :mode => 'spec', :save => {:url => {:controller => 'project', :action => 'save_prjconf'}, :data => {:project => @project, :config => '@@@'}}} %>
<% else %>
- <%= render :partial => "shared/editor", :locals => {:text => @config, :mode => 'prjconf', :read_only => true} %>
+ <%= render :partial => "shared/editor", :locals => {:text => @config, :mode => 'spec', :read_only => true} %>
<% end %>
</div>
--
1.7.7
--
To unsubscribe, e-mail: obs-commits+unsubscribe@opensuse.org
To contact the owner, e-mail: obs-commits+owner@opensuse.org