Prechádzať zdrojové kódy

#2738 adding all pertinent help file for due days, plus modified the .list-header-name when in mobile mode

Sam X. Chen 5 rokov pred
rodič
commit
e60926f847

+ 4 - 0
client/components/lists/list.styl

@@ -171,6 +171,10 @@
     margin-right: 50px
     right: -3px
 
+  .list-header
+    .list-header-name
+      margin-left: 1.4rem
+
   .mini-list
     flex: 0 0 60px
     height: auto

+ 2 - 2
docker-compose.yml

@@ -271,8 +271,8 @@ services:
       # dueat startat endat receivedat, also notification to
       # the watchers and if any card is due, about due or past due.
       #
-      # Notify due days, default 2 days before and after. 0 = due notifications disabled. Default: 2
-      #- NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2
+      # Notify due days, default is None, 2 days before and on the event day
+      #- NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0
       #
       # Notify due at hour of day. Default every morning at 8am. Can be 0-23.
       # If env variable has parsing error, use default. Notification sent to watchers.

+ 3 - 2
releases/virtualbox/start-wekan.sh

@@ -70,8 +70,9 @@
         # dueat startat endat receivedat, also notification to
         # the watchers and if any card is due, about due or past due.
         #
-        # Notify due days, default 2 days before and after. 0 = due notifications disabled. Default: 2
-        #export NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2
+        # Notify due days, default is None. 
+        #export NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0
+        # it will notify user 2 days before due day and on the due day
         #
         # Notify due at hour of day. Default every morning at 8am. Can be 0-23.
         # If env variable has parsing error, use default. Notification sent to watchers.

+ 3 - 6
snap-src/bin/wekan-help

@@ -104,13 +104,10 @@ echo -e "\t$ snap set $SNAP_NAME bigevents-pattern='NONE'"
 echo -e "\n"
 echo -e "EMAIL DUE DATE NOTIFICATION https://github.com/wekan/wekan/pull/2536"
 echo -e "System timelines will be showing any user modification for dueat startat endat receivedat, also notification to the watchers and if any card is due, about due or past due."
-echo -e "Notify due days, default 2 days before and after. 0 = due notifications disabled. Default: 2"
-echo -e "To enable different Notify Due Days Before And After than default 2:"
-echo -e "\t$ snap set $SNAP_NAME notify-due-days-before-and-after='4'"
+echo -e "Notify due days, number less than 15 or negative number accepted, you can specify multiple days delimited by ','. Default: NONE"
+echo -e "To enable different Notify for Due Days on 2 days before, and on the event day "
+echo -e "\t$ snap set $SNAP_NAME notify-due-days-before-and-after='2,0'"
 echo -e "\t-Disable Notifying for Due Days:"
-echo -e "\t$ snap set $SNAP_NAME notify-due-days-before-and-after='0'"
-echo -e "\n"
-echo -e "\t-To set back to default 2:"
 echo -e "\t$ snap set $SNAP_NAME notify-due-days-before-and-after=''"
 echo -e "\n"
 echo -e "Notify due at hour of day. Default every morning at 8am. Can be 0-23."

+ 2 - 2
start-wekan.bat

@@ -64,8 +64,8 @@ REM # https://github.com/wekan/wekan/pull/2536
 REM # System timelines will be showing any user modification for
 REM # dueat startat endat receivedat, also notification to
 REM # the watchers and if any card is due, about due or past due.
-REM # Notify due days, default 2 days before and after. 0 = due notifications disabled. Default: 2
-REM SET NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2
+REM # Notify due days, default is None. 
+REM # SET NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0
 REM # Notify due at hour of day. Default every morning at 8am. Can be 0-23.
 REM # If env variable has parsing error, use default. Notification sent to watchers.
 REM SET NOTIFY_DUE_AT_HOUR_OF_DAY=8

+ 3 - 2
start-wekan.sh

@@ -71,8 +71,9 @@
       # dueat startat endat receivedat, also notification to
       # the watchers and if any card is due, about due or past due.
       #
-      # Notify due days, default 2 days before and after. 0 = due notifications disabled. Default: 2
-      #export NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2
+      # Notify due days, default is None. 
+      #export NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0
+      # it will notify user 2 days before due day and on the due day
       #
       # Notify due at hour of day. Default every morning at 8am. Can be 0-23.
       # If env variable has parsing error, use default. Notification sent to watchers.