Add tracker functionality
This commit is contained in:
@@ -54,4 +54,9 @@ html {
|
||||
width: 1rem;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tracker-dropdown {
|
||||
margin-left: 0;
|
||||
margin-top: -2px;
|
||||
}
|
||||
@@ -27,17 +27,31 @@ block content
|
||||
table.highlight
|
||||
thead
|
||||
tr
|
||||
th
|
||||
p
|
||||
label
|
||||
input#overview-checkbox(type="checkbox")
|
||||
span
|
||||
th Title Text
|
||||
th language
|
||||
th
|
||||
a.dropdown-trigger language ▼
|
||||
th Artifact
|
||||
th Chapter
|
||||
th translator
|
||||
th proof reader
|
||||
th editor
|
||||
th
|
||||
a.dropdown-trigger translator ▼
|
||||
th
|
||||
a.dropdown-trigger proof reader ▼
|
||||
th
|
||||
a.dropdown-trigger editor ▼
|
||||
tbody
|
||||
each translationChapter in translationChapters.sort((a, b) => a.index - b.index)
|
||||
tr(onclick=`window.location='/projects/${project.id}/tracker/${translationChapter.id}'`)
|
||||
//- TODO: link to the translationChapter...
|
||||
td
|
||||
p
|
||||
label
|
||||
input(type="checkbox")
|
||||
span
|
||||
td(title=translationChapter.chapter.name)= translationChapter.chapter.name
|
||||
td
|
||||
a(href=`/projects/${project.id}/tracker?dialectId=${translationChapter.translationArtifactVersion.dialect.id}`)= translationChapter.translationArtifactVersion.dialect.name
|
||||
|
||||
Reference in New Issue
Block a user