|
|
|
|
|
|
|
|
template: ` |
|
|
template: ` |
|
|
<div> |
|
|
<div> |
|
|
<div id="om-msg-cards" class="is-hidden-desktop"> |
|
|
<div id="om-msg-cards" class="is-hidden-desktop"> |
|
|
|
|
|
<a v-if="isSearchActiv" @click="goBackToDashboard">< zurück zu allen Einträgen</a> |
|
|
|
|
|
<b-button class="subscribe-btn" v-if="isSubscripeButtonActiv" type="is-primary" @click="">#IPSUM ABONNIEREN</b-button> |
|
|
<MsgCard |
|
|
<MsgCard |
|
|
v-for="id in messagelist.slice().reverse()" |
|
|
v-for="id in messagelist.slice().reverse()" |
|
|
:key="id" |
|
|
:key="id" |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div id="om-msg-cards" class="column is-three-quarters is-pulled-right is-hidden-touch content-desktop"> |
|
|
<div id="om-msg-cards" class="column is-three-quarters is-pulled-right is-hidden-touch content-desktop"> |
|
|
|
|
|
<a v-if="isSearchActiv" @click="goBackToDashboard">< zurück zu allen Einträgen</a> |
|
|
|
|
|
<b-button class="subscribe-btn" v-if="isSubscripeButtonActiv" type="is-primary" @click="">#IPSUM ABONNIEREN</b-button> |
|
|
<MsgCard |
|
|
<MsgCard |
|
|
v-for="id in messagelist.slice().reverse()" |
|
|
v-for="id in messagelist.slice().reverse()" |
|
|
:key="id" |
|
|
:key="id" |
|
|
|
|
|
|
|
|
return { |
|
|
return { |
|
|
messagelist: _messagelist, |
|
|
messagelist: _messagelist, |
|
|
messages: _messages, |
|
|
messages: _messages, |
|
|
|
|
|
isSearchActiv: _isSearchActiv, |
|
|
|
|
|
isSubscripeButtonActiv: _isSubscripeButtonActiv |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
list_messages: function() { |
|
|
list_messages: function() { |
|
|
messages(); |
|
|
messages(); |
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
goBackToDashboard: function() { |
|
|
|
|
|
//Home neu rendern ... |
|
|
|
|
|
//windows.history.go(); |
|
|
|
|
|
|
|
|
|
|
|
_isSearchActiv = false; |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
mounted: function () { |
|
|
mounted: function () { |
|
|
this.list_messages(); |
|
|
this.list_messages(); |
|
|
//this.refresh_messages(); |
|
|
//this.refresh_messages(); |