Browse Source

Fixed 9.2.4.6, 9.1.3.5 and 11.7

seve12 1 month ago
parent
commit
cb10ad3a20

+ 9 - 1
client/components/boards/boardBody.js

@@ -341,11 +341,19 @@ BlazeComponent.extendComponent({
       timezone: 'local',
       weekNumbers: true,
       header: {
-        left: 'title   today prev,next',
+          left: 'title   today prev,next',
         center:
           'agendaDay,listDay,timelineDay agendaWeek,listWeek,timelineWeek month,listMonth',
         right: '',
       },
+        buttonText: {
+          prev: TAPi18n.__('calendar-previous-month'),
+          next: TAPi18n.__('calendar-next-month'),
+        },
+        ariaLabel: {
+          prev: TAPi18n.__('calendar-previous-month'),
+          next: TAPi18n.__('calendar-next-month'),
+        },
       // height: 'parent', nope, doesn't work as the parent might be small
       height: 'auto',
       /* TODO: lists as resources: https://fullcalendar.io/docs/vertical-resource-view */

+ 1 - 1
client/components/boards/boardHeader.jade

@@ -17,7 +17,7 @@ template(name="boardHeaderBar")
                 i.fa.fa-pencil-square-o
 
           a.board-header-btn.js-star-board(class="{{#if isStarred}}is-active{{/if}}"
-            title="{{#if isStarred}}{{_ 'click-to-unstar'}}{{else}}{{_ 'click-to-star'}}{{/if}} {{_ 'starred-boards-description'}}")
+            title="{{#if isStarred}}{{_ 'star-board-short-unstar'}}{{else}}{{_ 'star-board-short-star'}}{{/if}}" aria-label="{{#if isStarred}}{{_ 'star-board-short-unstar'}}{{else}}{{_ 'star-board-short-star'}}{{/if}}")
             i.fa(class="fa-star{{#unless isStarred}}-o{{/unless}}")
             if showStarCounter
               span

+ 1 - 0
config/accounts.js

@@ -57,6 +57,7 @@ AccountsTemplates.addFields([
     displayName: 'username',
     required: true,
     minLength: 2,
+    autocomplete: 'username',
   },
   emailField,
   passwordField,