diff options
author | Pouyan Savoli <papoola@hotmail.com> | 2017-08-25 02:59:20 +0200 |
---|---|---|
committer | Pouyan Savoli <papoola@hotmail.com> | 2017-09-22 22:59:32 +0200 |
commit | ade3c02122d262c72bd7c4fd1cbcab8e136184ba (patch) | |
tree | a87395d7e048b1d16f9fb636884bf2cd503d475f /client/components/activities | |
parent | 43a58c92ac3862668ef87d20fe7b09470e26cf66 (diff) | |
download | wekan-ade3c02122d262c72bd7c4fd1cbcab8e136184ba.tar.gz wekan-ade3c02122d262c72bd7c4fd1cbcab8e136184ba.tar.bz2 wekan-ade3c02122d262c72bd7c4fd1cbcab8e136184ba.zip |
Create custom fields creation UI added to Board Menu, Model in progress
Diffstat (limited to 'client/components/activities')
-rw-r--r-- | client/components/activities/activities.jade | 3 | ||||
-rw-r--r-- | client/components/activities/activities.js | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/client/components/activities/activities.jade b/client/components/activities/activities.jade index be12a728..b52a2981 100644 --- a/client/components/activities/activities.jade +++ b/client/components/activities/activities.jade @@ -50,6 +50,9 @@ template(name="boardActivities") if($eq activityType 'createCard') | {{{_ 'activity-added' cardLink boardLabel}}}. + if($eq activityType 'createCustomField') + | {{_ 'activity-customfield-created' customField}}. + if($eq activityType 'createList') | {{_ 'activity-added' list.title boardLabel}}. diff --git a/client/components/activities/activities.js b/client/components/activities/activities.js index ccb064f3..81645a51 100644 --- a/client/components/activities/activities.js +++ b/client/components/activities/activities.js @@ -91,6 +91,11 @@ BlazeComponent.extendComponent({ }, attachment.name())); }, + customField() { + const customField = this.currentData().customFieldId; + return customField; + }, + events() { return [{ // XXX We should use Popup.afterConfirmation here |