summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md15
-rw-r--r--README.md7
-rw-r--r--client/components/cards/minicard.jade14
-rw-r--r--client/components/cards/minicard.styl27
-rw-r--r--client/lib/utils.js2
5 files changed, 40 insertions, 25 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f8a24695..0b939c4e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,16 @@
-# Next Wekan version plans
+# Upcoming Wekan release
-* When known bugs are fixed, v0.11.1 will be released.
-* After that, next version will be v0.12 .
+This release adds following new features:
+
+* Make Due Date layout nicer on minicard.
+* Wekan <=> MongoDB <=> ToroDB => PostgreSQL read-only
+ mirroring for SQL access with any programming language
+ or Office package that has PostgreSQL support, like
+ newest LibreOffice 3.5:
+ https://github.com/wekan/wekan-postgresql
+
+Thanks to GitHub users whittssg2 and xet7 for their
+contributions.
# v0.11.1-rc1 2017-02-10 Wekan prerelease
diff --git a/README.md b/README.md
index 47dd8576..90dbe32e 100644
--- a/README.md
+++ b/README.md
@@ -90,6 +90,12 @@ Docker example, running latest Wekan using docker-compose:
sudo docker-compose pull && sudo docker-compose up -d --no-build
```
+#### PostgreSQL read-only mirroring using dockerhub images
+
+[Wekan <=> MongoDB <=> ToroDB => PostgreSQL read-only mirroring for SQL access
+with any programming language or Office package that has PostgreSQL support, like
+newest LibreOffice 3.5][wekan_postgresql].
+
#### Running from locally built dockerhub images
```
sudo docker-compose up -d --build
@@ -186,3 +192,4 @@ with [Meteor](https://www.meteor.com).
[autoinstall_issue]: https://github.com/anselal/wekan/issues/18
[dev_docs]: https://github.com/wekan/wekan/wiki/Developer-Documentation
[donations]: http://www.xet7.org/wekan
+[wekan_postgresql]: https://github.com/wekan/wekan-postgresql
diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade
index 8b46ee74..5409ec62 100644
--- a/client/components/cards/minicard.jade
+++ b/client/components/cards/minicard.jade
@@ -7,6 +7,13 @@ template(name="minicard")
each labels
.minicard-label(class="card-label-{{color}}" title="{{name}}")
.minicard-title= title
+ .dates
+ if startAt
+ .date
+ +minicardStartDate
+ if dueAt
+ .date
+ +minicardDueDate
if members
.minicard-members.js-minicard-members
each members
@@ -23,14 +30,7 @@ template(name="minicard")
.badge
span.badge-icon.fa.fa-paperclip
span.badge-text= attachments.count
- if startAt
- .badge
- +minicardStartDate
- if dueAt
- .badge
- +minicardDueDate
if checklists.count
.badge(class="{{#if checklistFinished}}is-finished{{/if}}")
span.badge-icon.fa.fa-check-square-o
span.badge-text.check-list-text {{checklistFinishedCount}}/{{checklistItemCount}}
-
diff --git a/client/components/cards/minicard.styl b/client/components/cards/minicard.styl
index 12a89785..a6aad896 100644
--- a/client/components/cards/minicard.styl
+++ b/client/components/cards/minicard.styl
@@ -77,7 +77,12 @@
height: @width
border-radius: 2px
margin-left: 3px
-
+ .dates
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ .date
+ margin-right: 3px
.badges
float: left
margin-top: 7px
@@ -91,25 +96,20 @@
margin-right: 11px
margin-bottom: 3px
font-size: 0.9em
-
+ &.is-finished
+ background: #3cb500
+ padding: 0px 3px
+ border-radius: 3px
+ color: white
+
&:last-of-type
margin-right: 0
.badge-icon,
.badge-text
vertical-align: middle
-
- &.is-finished
- background: #3cb500
- padding: 0px 3px
- border-radius: 3px
- color: white
-
- .badge-icon,
- .badge-text
- vertical-align: middle//didn't figure why use top, it'd be easier to fill bg if it's middle. This was introduced in commit "91cfcf7b12b5e7c137c2e765b2c378dde6b82966" & "* Improve the design of the minicards badges" was mentioned.
&.badge-comment
- margin-bottom: 0.1rem
+ margin-bottom: 0.1rem
.badge-text
font-size: 0.9em
@@ -119,7 +119,6 @@
padding-left: 0px
line-height: 12px
-
.minicard-members
float: right
margin: 2px -8px -2px 0
diff --git a/client/lib/utils.js b/client/lib/utils.js
index 4f772a60..9a9ff654 100644
--- a/client/lib/utils.js
+++ b/client/lib/utils.js
@@ -27,7 +27,7 @@ Utils = {
// in fact, what we really care is screen size
// large mobile device like iPad or android Pad has a big screen, it should also behave like a desktop
// in a small window (even on desktop), Wekan run in compact mode.
- // we can easily debug with a small window of desktop broswer. :-)
+ // we can easily debug with a small window of desktop browser. :-)
isMiniScreen() {
this.windowResizeDep.depend();
return $(window).width() <= 800;