mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-01 23:08:49 +01:00
Merge branch 'master' of git@github.com:bsag/tracks
This commit is contained in:
commit
c2a34e1dc5
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