Merge pull request #15232 from surajshetty3416/fixes-and-improvements

UI enhancements
This commit is contained in:
Suraj Shetty 2018-08-27 20:38:11 +05:30 committed by GitHub
commit 9a50044003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -14,7 +14,7 @@
>
<div slot="subtitle">
<span>{{item.recent_message.sender}}: </span>
<span>{{item.recent_message.content}}</span>
<span>{{item.recent_message.content | striphtml}}</span>
</div>
</item-list-card>
</div>

View File

@ -9,7 +9,7 @@
@remove-message="clear_last_sync_message"
></notification-message>
<div class="flex justify-between align-flex-end">
<div class="flex justify-between align-flex-end margin-bottom">
<h5>{{ page_title }}</h5>
<button class="btn btn-primary btn-sm publish-items"

View File

@ -60,3 +60,7 @@ Vue.directive('img-src', {
handleImage(el, binding.value);
}
});
Vue.filter('striphtml', function (text) {
return strip_html(text);
});