summaryrefslogtreecommitdiffstats
path: root/client/components/cards/minicard.jade
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2018-05-02 15:03:22 -0300
committerAndrés Manelli <andresmanelli@gmail.com>2018-08-11 00:17:42 +0200
commitf76d8e47a859c64a99cfd460e3fd496965bf021a (patch)
tree2adc26b9ba11e906e8bffb8b097be005977b1ae3 /client/components/cards/minicard.jade
parent6adfcb35138259c5969e63d20a68cd6f9e8c393c (diff)
downloadwekan-f76d8e47a859c64a99cfd460e3fd496965bf021a.tar.gz
wekan-f76d8e47a859c64a99cfd460e3fd496965bf021a.tar.bz2
wekan-f76d8e47a859c64a99cfd460e3fd496965bf021a.zip
Refactor imported -> linked in components
Diffstat (limited to 'client/components/cards/minicard.jade')
-rw-r--r--client/components/cards/minicard.jade19
1 files changed, 9 insertions, 10 deletions
diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade
index 450af3c6..37f537db 100644
--- a/client/components/cards/minicard.jade
+++ b/client/components/cards/minicard.jade
@@ -1,7 +1,7 @@
template(name="minicard")
.minicard(
- class="{{#if isImportedCard}}imported-card{{/if}}"
- class="{{#if isImportedBoard}}imported-board{{/if}}")
+ class="{{#if isLinkedCard}}linked-card{{/if}}"
+ class="{{#if isLinkedBoard}}linked-board{{/if}}")
if cover
.minicard-cover(style="background-image: url('{{cover.url}}');")
if labels
@@ -15,15 +15,14 @@ template(name="minicard")
if $eq 'prefix-with-parent' currentBoard.presentParentTask
.parent-prefix
| {{ parentCardName }}
- if isImportedBoard
- a.js-imported-link
- span.imported-icon.fa.fa-folder
- else if isImportedCard
- a.js-imported-link
- span.imported-icon.fa.fa-id-card
+ if isLinkedBoard
+ a.js-linked-link
+ span.linked-icon.fa.fa-folder
+ else if isLinkedCard
+ a.js-linked-link
+ span.linked-icon.fa.fa-id-card
if getArchived
- span.imported-icon.imported-archived.fa.fa-archive
-
+ span.linked-icon.linked-archived.fa.fa-archive
+viewer
= getTitle
if $eq 'subtext-with-full-path' currentBoard.presentParentTask