Style forms; [WIP] Draw table
This commit is contained in:
@ -16,6 +16,22 @@ const (
|
||||
)
|
||||
|
||||
var (
|
||||
reportBlacklist = map[string]struct{}{
|
||||
"burndown.daily": {},
|
||||
"burndown.monthly": {},
|
||||
"burndown.weekly": {},
|
||||
"calendar": {},
|
||||
"colors": {},
|
||||
"export": {},
|
||||
"ghistory.annual": {},
|
||||
"ghistory.monthly": {},
|
||||
"history.annual": {},
|
||||
"history.monthly": {},
|
||||
"information": {},
|
||||
"summary": {},
|
||||
"timesheet": {},
|
||||
}
|
||||
|
||||
tagBlacklist = map[string]struct{}{
|
||||
"ACTIVE": {},
|
||||
"ANNOTATED": {},
|
||||
@ -330,6 +346,9 @@ func (ts *TaskSquire) extractReports() Reports {
|
||||
reports := make(Reports)
|
||||
|
||||
for _, report := range availableReports {
|
||||
if _, ok := reportBlacklist[report]; ok {
|
||||
continue
|
||||
}
|
||||
reports[report] = &Report{
|
||||
Name: report,
|
||||
Description: ts.config.Get(fmt.Sprintf("report.%s.description", report)),
|
||||
|
||||
Reference in New Issue
Block a user