Browse Source

Merge branch 'thuanpq-keep-attachment-section-for-uploading-attachment-easier' into devel

Lauri Ojansivu 7 years ago
parent
commit
d235a00b11
2 changed files with 8 additions and 8 deletions
  1. 3 2
      CHANGELOG.md
  2. 5 6
      client/components/cards/cardDetails.jade

+ 3 - 2
CHANGELOG.md

@@ -4,7 +4,8 @@ This release adds the following new features:
 
 * [Change password of any user in Standalone Wekan Admin Panel](https://github.com/wekan/wekan/pull/1372);
 * [Performance optimization: Move more global subscriptions to template subscription](https://github.com/wekan/wekan/pull/1373);
-* [Auto update card cover with latest uploaded image attachment](https://github.com/wekan/wekan/pull/1387).
+* [Auto update card cover with latest uploaded image attachment](https://github.com/wekan/wekan/pull/1387);
+* [Always display attachment section for uploading file quickly](https://github.com/wekan/wekan/pull/1391).
 * Update tranlations. Add Latvian language;
 * Update to Meteor 1.6.0, Node 6.12.2 and MongoDB 3.2.18.
 
@@ -14,7 +15,7 @@ and fixes the following bugs:
 * [Bug on not able to see member avatar on sidebar activity](https://github.com/wekan/wekan/pull/1380);
 * [Don't open swipebox on update card cover / download file / delete file](https://github.com/wekan/wekan/pull/1386);
 * [Boards subscription should be placed at header for all other component can be used](https://github.com/wekan/wekan/pull/1381);
-* [bug on long url of attachment in card activity log](https://github.com/wekan/wekan/pull/1388).
+* [Bug on long url of attachment in card activity log](https://github.com/wekan/wekan/pull/1388).
 
 Thanks to GitHub users mfshiu, thuanpq and xet7 for their contributions.
 Thanks to translators for their translations.

+ 5 - 6
client/components/cards/cardDetails.jade

@@ -85,13 +85,12 @@ template(name="cardDetails")
     hr
     +checklists(cardId = _id)
 
-    if attachments.count
-      hr
-      h2
-        i.fa.fa-paperclip
-        | {{_ 'attachments'}}
+    hr
+    h2
+      i.fa.fa-paperclip
+      | {{_ 'attachments'}}
 
-      +attachmentsGalery
+    +attachmentsGalery
 
     hr
     .activity-title