mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 08:18:50 +01:00
Merge branch 'gorn/master'
* gorn/master: Refactoring changes to leave out unnecessary formatting. Merging. Changes in styleshet and generated html to conform more to mobile w3c reccomendations. Converting data to datetime to prevent the in_time_zone unknown function error on line 118.
This commit is contained in:
commit
b2c7e999ee
3 changed files with 5 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ if not @not_done.empty?
|
|||
-%>
|
||||
<h2><%=mobile_context.name%></h2>
|
||||
<ul class="c">
|
||||
<table cellpadding="0" cellspacing="0" border="0" class="c">
|
||||
<%= render :partial => "todos/mobile_todo",
|
||||
:collection => @not_done,
|
||||
:locals => { :parent_container_type => "context" }-%>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,12 @@
|
|||
<% @todo = mobile_todo
|
||||
if mobile_todo.starred?
|
||||
bullet = "<span class=\"star\">"+image_tag("menustar_small.gif")+"</span>"
|
||||
li_class = " class=\"star\""
|
||||
else
|
||||
bullet = "<span class=\"r\">» </span>"
|
||||
li_class = ""
|
||||
end -%>
|
||||
<li id="<%= dom_id(mobile_todo) %>" <%= li_class %>><%
|
||||
<li id="<%= dom_id(mobile_todo) %>" <%= li_class %>><%= bullet %><%
|
||||
if mobile_todo.completed?
|
||||
-%><span class="m_t_d">
|
||||
<% else
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ span.prj, span.ctx{
|
|||
}
|
||||
|
||||
ul.c li.star {
|
||||
list-style-image:url(../images/menustar_small.gif)
|
||||
list-style-type: circle;
|
||||
}
|
||||
|
||||
ul.c {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue