Skip to content

Commit

Permalink
display edit link in Queue list
Browse files Browse the repository at this point in the history
  • Loading branch information
jrockway committed Sep 6, 2007
1 parent 9e12e6b commit e8e2ad7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
14 changes: 12 additions & 2 deletions lib/DoQueue/View/TD/Queue.pm
Expand Up @@ -100,10 +100,17 @@ sub task_links($){
else {
a {
attr {
href => c->uri_for("/task/$id/close");
href => c->uri_for("/task/$id/close"),
class => 'close',
};
'Close'
}
};
a {
attr {
href => c->uri_for("/task/$id/edit");
};
'Edit'
};
}
}
}
Expand All @@ -122,6 +129,9 @@ sub render_tasks {
}
}
}
else {
"No deleted tasks! Get to work!";
}
}
}

Expand Down
1 change: 1 addition & 0 deletions root/static/main.css
Expand Up @@ -89,3 +89,4 @@ ul.metadata li {

.task_text { font-size: 1.3em; }
.task_links { margin: 0; padding: 0; font-size: .7em; }
.close { font-size: 1.1em; font-weight: bold }

0 comments on commit e8e2ad7

Please sign in to comment.