Minor restyling
This commit is contained in:
@@ -22,3 +22,14 @@ site-sidebar {
|
|||||||
color: var(--color);
|
color: var(--color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.links, .buttons {
|
||||||
|
display: flex;
|
||||||
|
flex-flow: row wrap;
|
||||||
|
gap: 1em;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
li {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,2 +1,11 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module TasksHelper
|
module TasksHelper
|
||||||
|
def tasks_index_title
|
||||||
|
return "Tasks for #{current_project.name}" if current_project
|
||||||
|
|
||||||
|
# TODO: add conditions for filters, etc
|
||||||
|
|
||||||
|
'Tasks'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
h1= tasks_index_title
|
||||||
|
|
||||||
.row
|
.row
|
||||||
= link_to 'New', new_task_path(project: current_project&.code)
|
= link_to 'New', new_task_path(project: current_project&.code)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user