diff --git a/app/views/issues/_list.rhtml b/app/views/issues/_list.rhtml index 0af415946..567ccba09 100644 --- a/app/views/issues/_list.rhtml +++ b/app/views/issues/_list.rhtml @@ -9,7 +9,7 @@ <% issues.each do |issue| %> - <%= check_box_tag "issue_ids[]", issue.id, false, :id => "issue_#{issue.id}" %> + <%= check_box_tag "issue_ids[]", issue.id, false, :id => "issue_#{issue.id}" %> <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %> <% query.columns.each do |column| %> <%= content_tag 'td', column_content(column, issue), :class => column.name %> diff --git a/app/views/issues/_list_simple.rhtml b/app/views/issues/_list_simple.rhtml index 0e3c39bbf..e527bdd3e 100644 --- a/app/views/issues/_list_simple.rhtml +++ b/app/views/issues/_list_simple.rhtml @@ -8,9 +8,9 @@ <% for issue in issues %> "> - + <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %> - +

<%= issue.project.name %> - <%= issue.tracker.name %>
<%= issue.status.name %> - <%= format_time(issue.updated_on) %>

diff --git a/app/views/repositories/_revisions.rhtml b/app/views/repositories/_revisions.rhtml index b2bdb6c7f..06b1cbd49 100644 --- a/app/views/repositories/_revisions.rhtml +++ b/app/views/repositories/_revisions.rhtml @@ -14,9 +14,9 @@ <% revisions.each do |revision| %> <% changeset = revision.is_a?(Change) ? revision.changeset : revision %> -<%= link_to (revision.revision || changeset.revision), :action => 'revision', :id => project, :rev => changeset.revision %> -<%= radio_button_tag('rev', changeset.revision, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < revisions.size) %> -<%= radio_button_tag('rev_to', changeset.revision, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %> +<%= link_to (revision.revision || changeset.revision), :action => 'revision', :id => project, :rev => changeset.revision %> +<%= radio_button_tag('rev', changeset.revision, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < revisions.size) %> +<%= radio_button_tag('rev_to', changeset.revision, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %> <%= format_time(changeset.committed_on) %> <%=h changeset.committer %> <%= textilizable(changeset.comments) %> diff --git a/app/views/wiki/history.rhtml b/app/views/wiki/history.rhtml index 41711d725..b2a467752 100644 --- a/app/views/wiki/history.rhtml +++ b/app/views/wiki/history.rhtml @@ -17,9 +17,9 @@ <% line_num = 1 %> <% @versions.each do |ver| %> "> - <%= link_to ver.version, :action => 'index', :page => @page.title, :version => ver.version %> - <%= radio_button_tag('version', ver.version, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < @versions.size) %> - <%= radio_button_tag('version_from', ver.version, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true || $('version_from').value > #{ver.version}) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %> + <%= link_to ver.version, :action => 'index', :page => @page.title, :version => ver.version %> + <%= radio_button_tag('version', ver.version, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < @versions.size) %> + <%= radio_button_tag('version_from', ver.version, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true || $('version_from').value > #{ver.version}) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %> <%= format_time(ver.updated_on) %> <%= ver.author ? ver.author.name : "anonyme" %> <%=h ver.comments %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 854f29c63..8f0064a22 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -68,8 +68,14 @@ a img{ border: 0; } /***** Tables *****/ table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; } table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; } -table.list tbody th { padding: 0px; } table.list td { overflow: hidden; text-overflow: ellipsis; vertical-align: top;} +table.list td.id { width: 2%; text-align: center;} +table.list td.checkbox { width: 15px; padding: 0px;} + +tr.issue { text-align: center; white-space: nowrap; } +tr.issue td.subject, tr.issue td.category { white-space: normal; } +tr.issue td.subject { text-align: left; } + table.list tbody tr:hover { background-color:#ffffdd; } table td {padding:2px;} table p {margin:0;} @@ -101,6 +107,7 @@ div.square { form {display: inline;} input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;} fieldset {border: 1px solid #e4e4e4; margin:0;} +legend {color: #484848;} hr { width: 100%; height: 1px; background: #ccc; border: 0;} textarea.wiki-edit { width: 99%; } li p {margin-top: 0;} @@ -140,12 +147,6 @@ width: 200px; div.attachments p { margin:4px 0 2px 0; } -/***** Issue list ****/ -tr.issue { text-align: center; white-space: nowrap; } -tr.issue th.checkbox { width: 15px; } -tr.issue td.subject, tr.issue td.category { white-space: normal; } -tr.issue td.subject { text-align: left; } - /***** Flash & error messages ****/ #flash div, #errorExplanation, .nodata { padding: 4px 4px 4px 30px;