The preference settings should mostly be self-explanatory, but some hints are included below:
first name and last name: Used for display purposes if set
-
staleness_starts: the number of days before items with no due date get marked as stale (with a yellow highlight)
-
date_format: the format in which you'd like dates to be shown. For example, for the date 31st January 2006, %d/%m/%Y will show 31/01/2006, %b-%e-%y will show Jan-31-06. See the strftime manual for more formatting options for the date.
-
no_completed: number of completed actions to show on the home page. If you set this to zero, the completed actions box will not be shown on the home page or on the individual context or project pages. You can still see all your completed items by clicking the 'Done' link in the navigation bar at the top of each page.
+
staleness starts: the number of days before items with no due date get marked as stale (with a yellow highlight)
+
date format: the format in which you'd like dates to be shown. For example, for the date 31st January 2006, %d/%m/%Y will show 31/01/2006, %b-%e-%y will show Jan-31-06. See the strftime manual for more formatting options for the date.
+
no completed: number of completed actions to show on the home page. If you set this to zero, the completed actions box will not be shown on the home page or on the individual context or project pages. You can still see all your completed items by clicking the 'Done' link in the navigation bar at the top of each page.
<% if @user.is_admin? %>
-
admin_email: email address for the admin user of Tracks (displayed on the signup page for users to contact to obtain an account)
+
admin email: email address for the admin user of Tracks (displayed on the signup page for users to contact to obtain an account)
<% end %>
-
week_starts: day of the week shown as the start of the week on the popup calendar.
-
due_style: style in which due dates are shown, e.g. "Due in 3 days", "Due on Wednesday"
+
week starts: day of the week shown as the start of the week on the popup calendar.
+
show completed projects on home page: whether or not projects marked as complete are shown on the home page sidebar
+
due style: style in which due dates are shown, e.g. "Due in 3 days", "Due on Wednesday"
refresh: automatic refresh interval for each of the pages (in minutes)
@@ -26,50 +27,94 @@
<%= text_field 'user', 'last_name' %>
- <% @prefs.each do |k,v| %>
- <% next if !@user.is_admin? and k == "admin_email" %>
-
+
- <% case k
- when "week_starts" %>
-
- <% when "due_style" %>
-
-
- <% else %>
-
- <% end %>
-