Skip to content

Commit

Permalink
Changing list.vue from json to using slots
Browse files Browse the repository at this point in the history
  • Loading branch information
dedanirungu committed Feb 24, 2023
1 parent 7e40b51 commit fb2c0e6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mybizna/mailmass",
"description": "",
"type": "asgard-module",
"version": "1.2.99",
"version": "1.3.0",
"license": "GPL-3.0-or-later",
"authors": [
{
Expand Down
4 changes: 3 additions & 1 deletion views/admin/autoresponder/list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
<td>{{ item.date_field }}</td>
<td>{{ item.start_date }}</td>
<td>{{ item.end_date }}</td>
<td>{{ item.published }}</td>
<td class="text-center">
<btn-status :status="item.published"></btn-status>
</td>
</template>


Expand Down
8 changes: 6 additions & 2 deletions views/admin/campaign/list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@
<td>{{ item.subject }}</td>
<td>{{ item.body }}</td>
<td>{{ item.send_date }}</td>
<td>{{ item.is_sent }}</td>
<td>{{ item.published }}</td>
<td class="text-center">
<btn-status :status="item.is_sent"></btn-status>
</td>
<td class="text-center">
<btn-status :status="item.published"></btn-status>
</td>
</template>


Expand Down
4 changes: 3 additions & 1 deletion views/admin/group/list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
<td>{{ item.name }}</td>
<td>{{ item.description }}</td>
<td>{{ item.ordering }}</td>
<td>{{ item.published }}</td>
<td class="text-center">
<btn-status :status="item.published"></btn-status>
</td>
</template>


Expand Down

0 comments on commit fb2c0e6

Please sign in to comment.