You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by as...@apache.org on 2008/05/29 01:02:27 UTC
svn commit: r661138 - in /ode/sandbox/singleshot: app/views/tasks/
public/images/ public/stylesheets/
Author: assaf
Date: Wed May 28 16:02:27 2008
New Revision: 661138
URL: http://svn.apache.org/viewvc?rev=661138&view=rev
Log:
Fixed appearance of over due items.
Added:
ode/sandbox/singleshot/public/images/exclamation.png
ode/sandbox/singleshot/public/images/information.png
Removed:
ode/sandbox/singleshot/public/images/submit.gif
ode/sandbox/singleshot/public/images/textfield.png
Modified:
ode/sandbox/singleshot/app/views/tasks/following.html.erb
ode/sandbox/singleshot/app/views/tasks/index.html.erb
ode/sandbox/singleshot/public/stylesheets/default.css
Modified: ode/sandbox/singleshot/app/views/tasks/following.html.erb
URL: http://svn.apache.org/viewvc/ode/sandbox/singleshot/app/views/tasks/following.html.erb?rev=661138&r1=661137&r2=661138&view=diff
==============================================================================
--- ode/sandbox/singleshot/app/views/tasks/following.html.erb (original)
+++ ode/sandbox/singleshot/app/views/tasks/following.html.erb Wed May 28 16:02:27 2008
@@ -11,7 +11,7 @@
<% for task in @tasks %>
<% content_tag_for 'tr', task, :class=>'hentry' + (task.over_due? ? ' overdue' : '') do %>
<td class='status'><%= task.status.titleize %></td>
- <td class='entry-title'><%= 'â ' if task.over_due? %><%= link_to h(task.title), task_url(task), :rel=>'bookmark', :title=>truncate(strip_tags(task.description), 250) %></h3></td>
+ <td class='entry-title'><%= 'â ' if task.over_due? %><%= link_to h(task.title), task_url(task), :rel=>'bookmark', :title=>truncate(strip_tags(task.description), 250) %></td>
<td><%= link_to_person task.owner, :owner if task.owner %></td>
<td><%= abbr_date task.due_on, relative_date(task.due_on).titleize, :class=>(task.over_due? ? 'overdue' : nil) if task.due_on %></td>
<td><%= content_tag 'span', ['High', 'Normal', 'Low'][task.priority - 1], :class=>"priority_#{task.priority}" %></td>
Modified: ode/sandbox/singleshot/app/views/tasks/index.html.erb
URL: http://svn.apache.org/viewvc/ode/sandbox/singleshot/app/views/tasks/index.html.erb?rev=661138&r1=661137&r2=661138&view=diff
==============================================================================
--- ode/sandbox/singleshot/app/views/tasks/index.html.erb (original)
+++ ode/sandbox/singleshot/app/views/tasks/index.html.erb Wed May 28 16:02:27 2008
@@ -11,8 +11,8 @@
<% for task in @tasks %>
<% content_tag_for 'tr', task, :class=>'hentry' + (task.over_due? ? ' overdue' : '') do %>
<td class='status'><%= task.status.titleize %></td>
- <td class='entry-title'><%= 'â ' if task.over_due? %><%= link_to h(task.title), task_url(task), :rel=>'bookmark', :title=>truncate(strip_tags(task.description), 250) %></h3></td>
- <td><%= abbr_date task.due_on, relative_date(task.due_on).titleize, :class=>(task.over_due? ? 'overdue' : nil) if task.due_on %></td>
+ <td class='entry-title'><%= link_to h(task.title), task_url(task), :rel=>'bookmark', :title=>truncate(strip_tags(task.description), 250) %></td>
+ <td><%= image_tag('exclamation.png') if task.over_due? %> <%= abbr_date task.due_on, relative_date(task.due_on).titleize if task.due_on %></td>
<td><%= content_tag 'span', ['High', 'Normal', 'Low'][task.priority - 1], :class=>"priority_#{task.priority}" %></td>
<td><%= abbr_time task.created_at, relative_time(task.created_at), :class=>'published' %></td>
<td><%= button_to 'Claim', '' if task.can_claim?(authenticated) %></td>
Added: ode/sandbox/singleshot/public/images/exclamation.png
URL: http://svn.apache.org/viewvc/ode/sandbox/singleshot/public/images/exclamation.png?rev=661138&view=auto
==============================================================================
Files ode/sandbox/singleshot/public/images/exclamation.png (added) and ode/sandbox/singleshot/public/images/exclamation.png Wed May 28 16:02:27 2008 differ
Added: ode/sandbox/singleshot/public/images/information.png
URL: http://svn.apache.org/viewvc/ode/sandbox/singleshot/public/images/information.png?rev=661138&view=auto
==============================================================================
Files ode/sandbox/singleshot/public/images/information.png (added) and ode/sandbox/singleshot/public/images/information.png Wed May 28 16:02:27 2008 differ
Modified: ode/sandbox/singleshot/public/stylesheets/default.css
URL: http://svn.apache.org/viewvc/ode/sandbox/singleshot/public/stylesheets/default.css?rev=661138&r1=661137&r2=661138&view=diff
==============================================================================
--- ode/sandbox/singleshot/public/stylesheets/default.css (original)
+++ ode/sandbox/singleshot/public/stylesheets/default.css Wed May 28 16:02:27 2008
@@ -209,9 +209,10 @@
margin: 0;
border-bottom: 1px solid #ddd;
}
-table.tasks tbody td.entry-title {
+table.tasks tbody td img {
+ vertical-align: middle;
}
-table.tasks tbody .overdue td {
+table.tasks tbody .overdue td, table.tasks tbody .overdue td a {
color: red;
}
table.tasks tbody td .priority_1 {