@@ -283,10 +233,14 @@
<% if @user.user_extensions.identity == 0 %>
- <%= l(:label_technical_title) %>:
+
+ <%= l(:label_technical_title) %>:
+
|
<% end %>
diff --git a/app/views/layouts/system_log.html.erb b/app/views/layouts/system_log.html.erb
new file mode 100644
index 000000000..ba1fe1ad1
--- /dev/null
+++ b/app/views/layouts/system_log.html.erb
@@ -0,0 +1,54 @@
+<%#
+# To change this template, choose Tools | Templates
+# and open the template in the editor.
+%>
+
+
+
+
+ System Log
+
+
+
+
+ <%= yield %>
+
+
\ No newline at end of file
diff --git a/app/views/members/create.js.erb b/app/views/members/create.js.erb
index 3b01980ad..35280b7a4 100644
--- a/app/views/members/create.js.erb
+++ b/app/views/members/create.js.erb
@@ -12,7 +12,11 @@ hideOnLoad();
$("#member-<%= member.id %>").effect("highlight");
<% end %>
<% else %>
- <% errors = @members.collect {|m| m.errors.full_messages}.flatten.uniq.join(', ') %>
- alert('<%= raw(escape_javascript(l(:notice_failed_to_save_members, :errors => errors))) %>');
+ <% if @members %>
+ <% errors = @members.collect {|m| m.errors.full_messages}.flatten.uniq.join(', ')%>
+ alert('<%= raw(escape_javascript(l(:notice_failed_to_save_members, :errors => errors || ''))) %>');
+ <% else%>
+// alert('');
+ <% end%>
<% end %>
<% end %>
diff --git a/app/views/news/_form.html.erb b/app/views/news/_form.html.erb
index f76aaad88..5e5cdf532 100644
--- a/app/views/news/_form.html.erb
+++ b/app/views/news/_form.html.erb
@@ -3,12 +3,25 @@
<%= @project ? l(:label_news_new) : l(:bale_news_notice) %>
-
<%= f.text_field :title, :required => true, :size => 60, :style => "width:488px;", :onkeyup => "regexTitle();" %>
-
(60个字符以内)
+
+ <%= f.text_field :title, :required => true, :size => 60, :style => "width:488px;", :onkeyup => "regexTitle();" %>
+
+
+ (60个字符以内)
+
-
<%= f.text_area :description, :required => true, :cols => 60, :rows => 11, :class => 'wiki-edit', :style => "width:490px;", :onkeyup => "regexDescription();" %>
-
-
<%= render :partial => 'attachments/form', :locals => {:container => @news} %>
+
+ <%= f.text_area :description, :required => true, :cols => 60, :rows => 11, :class => 'wiki-edit', :style => "width:490px;", :onkeyup => "regexDescription();" %>
+
+
+
+
+
+
+ <%= render :partial => 'attachments/form', :locals => {:container => @news} %>
+
<%= wikitoolbar_for 'news_description' %>
diff --git a/app/views/news/_project_news.html.erb b/app/views/news/_project_news.html.erb
index 526c7a1a5..b18c2abd8 100644
--- a/app/views/news/_project_news.html.erb
+++ b/app/views/news/_project_news.html.erb
@@ -83,7 +83,7 @@
<%= render :partial => 'news/form', :locals => {:f => f} %>
<%#= submit_tag l(:button_create), :class => 'whiteButton m3p10 h30', :name => nil %>
<%= link_to l(:button_create), "#", :onclick => 'submitNews();',:onmouseover => 'submitFocus(this);', :class => 'ButtonColor m3p10' %>
- |
+
<%#= preview_link preview_news_path(:project_id => @project), 'news-form', target='preview', {:class => 'whiteButton m3p10'} %>
<%= link_to l(:button_cancel), "#", :onclick => '$("#add-news").hide()', :class => 'ButtonColor m3p10' %>
diff --git a/app/views/originizations/index.html.erb b/app/views/originizations/index.html.erb
new file mode 100644
index 000000000..7e31a2e75
--- /dev/null
+++ b/app/views/originizations/index.html.erb
@@ -0,0 +1,25 @@
+
+
+ <%= link_to l(:label_all_enterprises) %>
+
+
+ <% if @enterprises.count == 0 %>
+
<%= l(:label_enterprise_nil) %>
+ <% else %>
+ <% @enterprises.each do |enterprise| %>
+ <% unless enterprise.enterprise_name.blank? %>
+
+ -
+ <%= link_to enterprise.enterprise_name, home_path(:originization => enterprise.enterprise_name) %>
+
+
+ <% end %>
+ <% end %>
+ <% end %>
+
+
+
+
+<% html_title(l(:label_enterprise_all)) -%>
diff --git a/app/views/poll/_edit_MC.html.erb b/app/views/poll/_edit_MC.html.erb
index f89407247..19a1e1e89 100644
--- a/app/views/poll/_edit_MC.html.erb
+++ b/app/views/poll/_edit_MC.html.erb
@@ -39,7 +39,7 @@