X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=nixops%2Fmodules%2Ftask%2Ffixes.patch;h=851f9f05ffc0110e953df5d1c877074faae3f913;hb=99b0b74ac87c77b5f39e21c65141d8fcc6753ca2;hpb=55fd3780b5c40664233cd3f9b8cf280bd530fdd1;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/nixops/modules/task/fixes.patch b/nixops/modules/task/fixes.patch new file mode 100644 index 0000000..851f9f0 --- /dev/null +++ b/nixops/modules/task/fixes.patch @@ -0,0 +1,56 @@ +diff --git a/lib/taskwarrior-web/helpers.rb b/lib/taskwarrior-web/helpers.rb +index 212aed7..94c57df 100644 +--- a/lib/taskwarrior-web/helpers.rb ++++ b/lib/taskwarrior-web/helpers.rb +@@ -1,6 +1,8 @@ + require 'active_support/core_ext/date/calculations' + + module TaskwarriorWeb::App::Helpers ++ include ERB::Util ++ + def format_date(timestamp) + format = TaskwarriorWeb::Config.dateformat || '%-m/%-d/%Y' + Time.parse(timestamp).localtime.strftime(format) +diff --git a/lib/taskwarrior-web/services/builder/base.rb b/lib/taskwarrior-web/services/builder/base.rb +index 58d246e..8f716ac 100644 +--- a/lib/taskwarrior-web/services/builder/base.rb ++++ b/lib/taskwarrior-web/services/builder/base.rb +@@ -10,7 +10,7 @@ module TaskwarriorWeb::CommandBuilder::Base + :complete => ':id done', + :annotate => ':id annotate', + :denotate => ':id denotate', +- :projects => '_projects', ++ :projects => '_unique project', + :tags => '_tags', + :sync => 'sync' + } +diff --git a/lib/taskwarrior-web/views/tasks/_form.erb b/lib/taskwarrior-web/views/tasks/_form.erb +index 789e7a1..fa08698 100644 +--- a/lib/taskwarrior-web/views/tasks/_form.erb ++++ b/lib/taskwarrior-web/views/tasks/_form.erb +@@ -1,14 +1,14 @@ +
+ +
+- ++ +
+
+ +
+ +
+- ++ +
+
+ +@@ -45,7 +45,7 @@ +
+ +
+- ++ + Enter tags separated by commas or spaces (e.g. each, word will,be a tag) +
+