Author: assaf
Date: Sun Jun 15 19:16:51 2008
New Revision: 668038
URL: http://svn.apache.org/viewvc?rev=668038&view=rev
Log:
Changed main tabs: Tasks=>Inbox, Following=>All tasks, and added place holder
for starting new task.
Modified:
ode/sandbox/singleshot/app/views/layouts/application.html.erb
Modified: ode/sandbox/singleshot/app/views/layouts/application.html.erb
URL:
http://svn.apache.org/viewvc/ode/sandbox/singleshot/app/views/layouts/application.html.erb?rev=668038&r1=668037&r2=668038&view=diff
==============================================================================
--- ode/sandbox/singleshot/app/views/layouts/application.html.erb (original)
+++ ode/sandbox/singleshot/app/views/layouts/application.html.erb Sun Jun 15
19:16:51 2008
@@ -16,10 +16,11 @@
<li><form action='<% tasks_url %>' method='get' class='search'><%=
text_field_tag 'query', params['query'] %><button><%= image_tag 'search.png'
%></button></form></li>
</ul>
<ul class='tabs'><%=
- [ ['â Tasks', tasks_url, 'Pending and available tasks'],
- ['Following', following_tasks_url, 'Tasks you create, observing or
administrating'],
+ [ ['â Inbox', tasks_url, 'Pending and available tasks'],
+ ['All Tasks', following_tasks_url, 'Tasks you create, observing or
administrating'],
['Completed', completed_tasks_url, 'Tasks you completed'],
- ['Activity', activity_url, 'Recent task activity'] ].map { |tab|
+ ['Activity', activity_url, 'Recent task activity'],
+ ['Start …', '#', 'Start a new task'] ].map { |tab|
content_tag 'li', link_to(tab[0], tab[1], :title=>tab[2],
:class=>current_page?(tab[1]) ? 'current': nil)
}.join %></ul>
<ul class='alternate'><%= content_tag 'li',
link_to(image_tag('feed.png') + ' Feed', @alternate[Mime::ATOM],
:rel=>'alternate', :title=>'Subscribe with your feed reader') if @alternate &&
@alternate[Mime::ATOM] %><%= content_tag 'li',
link_to(image_tag('calendar.png') + ' Calendar', @alternate[Mime::ICS],
:rel=>'alternate', :title=>'Add to your calendar') if @alternate &&
@alternate[Mime::ICS] %></ul>