瀏覽代碼

Merge branch 'helioguardabaxo-master'

Lauri Ojansivu 4 年之前
父節點
當前提交
129a884a4e

+ 1 - 1
client/components/cards/cardDetails.js

@@ -57,7 +57,7 @@ BlazeComponent.extendComponent({
   },
   },
 
 
   scrollParentContainer() {
   scrollParentContainer() {
-    const cardPanelWidth = 510;
+    const cardPanelWidth = 600;
     const parentComponent = this.parentComponent();
     const parentComponent = this.parentComponent();
     // TODO sometimes parentComponent is not available, maybe because it's not
     // TODO sometimes parentComponent is not available, maybe because it's not
     // yet created?!
     // yet created?!

+ 2 - 0
client/components/rules/rules.styl

@@ -2,10 +2,12 @@
   overflow:hidden
   overflow:hidden
   overflow-y:scroll
   overflow-y:scroll
   max-height: 400px
   max-height: 400px
+  padding-right: 5px
 .rules-lists-item
 .rules-lists-item
   display: block
   display: block
   position: relative
   position: relative
   overflow: auto
   overflow: auto
+  border-bottom: 1px solid #bfbfbf
   p
   p
   	display: inline-block
   	display: inline-block
   	float: left
   	float: left

+ 3 - 2
client/components/sidebar/sidebar.styl

@@ -34,6 +34,7 @@
       color: darken(white, 50%)
       color: darken(white, 50%)
       font-size: 1em
       font-size: 1em
       margin-bottom: 10px
       margin-bottom: 10px
+      font-weight: bold
 
 
       i.fa
       i.fa
         margin-right: 3px
         margin-right: 3px
@@ -167,8 +168,8 @@
   button
   button
     float: right
     float: right
     margin: 0
     margin: 0
-    margin-bottom: 5px
-    padding: 0 2px 0 10px
+    margin: 0 0 5px 5px
+    padding: 0 10px 0 10px
 
 
 @media screen and (max-width: 800px)
 @media screen and (max-width: 800px)
   .board-sidebar
   .board-sidebar

+ 23 - 3
client/components/sidebar/sidebarFilters.jade

@@ -4,10 +4,14 @@
   and #each x in y constructors to fix this.
   and #each x in y constructors to fix this.
 
 
 template(name="filterSidebar")
 template(name="filterSidebar")
+  h3 {{_ 'list-filter-label'}}
   ul.sidebar-list
   ul.sidebar-list
-    span {{_ 'list-filter-label'}}
     form.js-list-filter
     form.js-list-filter
       input(type="text")
       input(type="text")
+  hr
+  h3
+    i.fa.fa-tags
+    | {{_ 'filter-labels-label'}}
   ul.sidebar-list
   ul.sidebar-list
     li(class="{{#if Filter.labelIds.isSelected undefined}}active{{/if}}")
     li(class="{{#if Filter.labelIds.isSelected undefined}}active{{/if}}")
           a.name.js-toggle-label-filter
           a.name.js-toggle-label-filter
@@ -27,6 +31,9 @@ template(name="filterSidebar")
           if Filter.labelIds.isSelected _id
           if Filter.labelIds.isSelected _id
             i.fa.fa-check
             i.fa.fa-check
   hr
   hr
+  h3
+    i.fa.fa-users
+    | {{_ 'filter-member-label'}}
   ul.sidebar-list
   ul.sidebar-list
     li(class="{{#if Filter.members.isSelected undefined}}active{{/if}}")
     li(class="{{#if Filter.members.isSelected undefined}}active{{/if}}")
           a.name.js-toggle-member-filter
           a.name.js-toggle-member-filter
@@ -45,6 +52,9 @@ template(name="filterSidebar")
             if Filter.members.isSelected _id
             if Filter.members.isSelected _id
               i.fa.fa-check
               i.fa.fa-check
   hr
   hr
+  h3
+    i.fa.fa-user
+    | {{_ 'filter-assignee-label'}}
   ul.sidebar-list
   ul.sidebar-list
     li(class="{{#if Filter.assignees.isSelected undefined}}active{{/if}}")
     li(class="{{#if Filter.assignees.isSelected undefined}}active{{/if}}")
       a.name.js-toggle-assignee-filter
       a.name.js-toggle-assignee-filter
@@ -63,6 +73,9 @@ template(name="filterSidebar")
             if Filter.assignees.isSelected _id
             if Filter.assignees.isSelected _id
               i.fa.fa-check
               i.fa.fa-check
   hr
   hr
+  h3
+    i.fa.fa-list-alt
+    | {{_ 'filter-custom-fields-label'}}
   ul.sidebar-list
   ul.sidebar-list
     li(class="{{#if Filter.customFields.isSelected undefined}}active{{/if}}")
     li(class="{{#if Filter.customFields.isSelected undefined}}active{{/if}}")
           a.name.js-toggle-custom-fields-filter
           a.name.js-toggle-custom-fields-filter
@@ -78,6 +91,8 @@ template(name="filterSidebar")
           if Filter.customFields.isSelected _id
           if Filter.customFields.isSelected _id
             i.fa.fa-check
             i.fa.fa-check
   hr
   hr
+  h3
+    | {{_ 'other-filters-label'}}
   ul.sidebar-list
   ul.sidebar-list
     li(class="{{#if Filter.archive.isSelected _id}}active{{/if}}")
     li(class="{{#if Filter.archive.isSelected _id}}active{{/if}}")
       a.name.js-toggle-archive-filter
       a.name.js-toggle-archive-filter
@@ -85,7 +100,6 @@ template(name="filterSidebar")
           | {{_ 'filter-show-archive'}}
           | {{_ 'filter-show-archive'}}
         if Filter.archive.isSelected _id
         if Filter.archive.isSelected _id
           i.fa.fa-check
           i.fa.fa-check
-  hr
   ul.sidebar-list
   ul.sidebar-list
     li(class="{{#if Filter.hideEmpty.isSelected _id}}active{{/if}}")
     li(class="{{#if Filter.hideEmpty.isSelected _id}}active{{/if}}")
       a.name.js-toggle-hideEmpty-filter
       a.name.js-toggle-hideEmpty-filter
@@ -94,7 +108,7 @@ template(name="filterSidebar")
         if Filter.hideEmpty.isSelected _id
         if Filter.hideEmpty.isSelected _id
           i.fa.fa-check
           i.fa.fa-check
   hr
   hr
-  span {{_ 'advanced-filter-label'}}
+  h3 {{_ 'advanced-filter-label'}}
   input.js-field-advanced-filter(type="text")
   input.js-field-advanced-filter(type="text")
   span {{_ 'advanced-filter-description'}}
   span {{_ 'advanced-filter-description'}}
   if Filter.isActive
   if Filter.isActive
@@ -107,6 +121,9 @@ template(name="filterSidebar")
       span {{_ 'filter-to-selection'}}
       span {{_ 'filter-to-selection'}}
 
 
 template(name="multiselectionSidebar")
 template(name="multiselectionSidebar")
+  h3
+    i.fa.fa-tags
+    | {{_ 'multi-selection-label'}}
   ul.sidebar-list
   ul.sidebar-list
     each currentBoard.labels
     each currentBoard.labels
       li
       li
@@ -122,6 +139,9 @@ template(name="multiselectionSidebar")
           else if someSelectedElementHave 'label' _id
           else if someSelectedElementHave 'label' _id
             i.fa.fa-ellipsis-h
             i.fa.fa-ellipsis-h
   hr
   hr
+  h3
+    i.fa.fa-users
+    | {{_ 'multi-selection-member'}}
   ul.sidebar-list
   ul.sidebar-list
     each currentBoard.activeMembers
     each currentBoard.activeMembers
       with getUser userId
       with getUser userId

+ 7 - 0
i18n/en.i18n.json

@@ -337,15 +337,20 @@
   "filter-cards": "Filter Cards or Lists",
   "filter-cards": "Filter Cards or Lists",
   "list-filter-label": "Filter List by Title",
   "list-filter-label": "Filter List by Title",
   "filter-clear": "Clear filter",
   "filter-clear": "Clear filter",
+  "filter-labels-label": "Filter by label",
   "filter-no-label": "No label",
   "filter-no-label": "No label",
+  "filter-member-label": "Filter by member",
   "filter-no-member": "No member",
   "filter-no-member": "No member",
+  "filter-assignee-label": "Filter by assignee",
   "filter-no-assignee": "No assignee",
   "filter-no-assignee": "No assignee",
+  "filter-custom-fields-label": "Filter by Custom Fields",
   "filter-no-custom-fields": "No Custom Fields",
   "filter-no-custom-fields": "No Custom Fields",
   "filter-show-archive": "Show archived lists",
   "filter-show-archive": "Show archived lists",
   "filter-hide-empty": "Hide empty lists",
   "filter-hide-empty": "Hide empty lists",
   "filter-on": "Filter is on",
   "filter-on": "Filter is on",
   "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.",
   "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.",
   "filter-to-selection": "Filter to selection",
   "filter-to-selection": "Filter to selection",
+  "other-filters-label": "Other Filters",
   "advanced-filter-label": "Advanced Filter",
   "advanced-filter-label": "Advanced Filter",
   "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i",
   "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i",
   "fullname": "Full Name",
   "fullname": "Full Name",
@@ -420,6 +425,8 @@
   "moveCardToTop-title": "Move to Top",
   "moveCardToTop-title": "Move to Top",
   "moveSelectionPopup-title": "Move selection",
   "moveSelectionPopup-title": "Move selection",
   "multi-selection": "Multi-Selection",
   "multi-selection": "Multi-Selection",
+  "multi-selection-label": "Set label for selection",
+  "multi-selection-member": "Set member for selection",
   "multi-selection-on": "Multi-Selection is on",
   "multi-selection-on": "Multi-Selection is on",
   "muted": "Muted",
   "muted": "Muted",
   "muted-info": "You will never be notified of any changes in this board",
   "muted-info": "You will never be notified of any changes in this board",