app/views/project/_cvs.rhtml in damagecontrol-0.5.0 vs app/views/project/_cvs.rhtml in damagecontrol-0.5.0.1391
- old
+ new
@@ -102,22 +102,21 @@
document.getElementById('cvsserver').disabled = false
document.getElementById('cvsport').disabled = false
}
}
-var scm_password_tip = "<div class='tp1'><b>Warning!</b> Password will be shown in cleartext in configuration files.</div>";
var cvs_protocol_tip = "<div class='tp1'>If you specify :local: DamageControl can create the repository for you after you save (unless the repository already exists).</div>";
// not displayed yet - not appropriate for rscm...
var cvs_mod_tip = "<div class='tp1'>Note that you can't use trigged build if you are using DC to build multiple branches for the same project, use polling instead.</div>";
</script>
<table width="100%">
<tr>
<td width="25%" class="setting-name">CVSROOT</td>
<td> </td>
- <td width="75%"><%= text_or_input(@edit, :name => "RSCM::CVS[root]", :value => cvs.root, :onKeyUp => "cvs_init()", :id => "cvsroot") %></td>
+ <td width="75%"><%= text_or_input(@edit, :name => "scms[RSCM::Cvs][@root]", :value => cvs.root, :onKeyUp => "cvs_init()", :id => "cvsroot") %></td>
</tr>
<% if(@edit) %>
<tr>
<td>Protocol</td>
<td><%= tip(:txt => 'cvs_protocol_tip') %></td>
@@ -136,11 +135,11 @@
<td width="75%"><%= text_or_input(@edit, :onKeyUp => "updateCvsRootField()", :id => "cvsuser") %></td>
</tr>
<tr>
<td>Password</td>
<td><%= tip(:txt => 'scm_password_tip') %></td>
- <td width="75%"><%= text_or_input(@edit, :name => "RSCM::CVS[password]", :onKeyUp => "updateCvsRootField()", :id => "cvspassword") %></td>
+ <td width="75%"><%= text_or_input(@edit, :name => "scms[RSCM::Cvs][@password]", :onKeyUp => "updateCvsRootField()", :id => "cvspassword") %></td>
</tr>
<tr>
<td>Server</td>
<td> </td>
<td width="75%"><%= text_or_input(@edit, :onKeyUp => "updateCvsRootField()", :id => "cvsserver") %></td>
@@ -157,15 +156,15 @@
</tr>
<% end %>
<tr>
<td>Module</td>
<td> </td>
- <td width="75%"><%= text_or_input(@edit, :name => "RSCM::CVS[mod]", :value => cvs.mod, :id => "cvsmodule") %></td>
+ <td width="75%"><%= text_or_input(@edit, :name => "scms[RSCM::Cvs][@mod]", :value => cvs.mod, :id => "cvsmodule") %></td>
</tr>
<tr>
<td>Branch</td>
<td> </td>
- <td width="75%"><%= text_or_input(@edit, :name => "RSCM::CVS[branch]", :value => cvs.branch, :id => "cvsmodule") %></td>
+ <td width="75%"><%= text_or_input(@edit, :name => "scms[RSCM::Cvs][@branch]", :value => cvs.branch, :id => "cvsmodule") %></td>
</tr>
</table>
<img src="/images/cvs.png"/>