Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tenders and contracts lists pages for Dashboards module #3053

Merged
merged 25 commits into from
May 14, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
6655123
Several changes in routes and controller actions
eltercero May 7, 2020
cc2cac7
Views and controller with the proper info from the module settings
eltercero May 7, 2020
fc25f67
Vue integration: Base containers and functional navigation
eltercero May 7, 2020
00b2c14
Initial table and table row views integration for contracts and tenders
eltercero May 8, 2020
702f18b
Integration tests for contracts and tenders lists.
eltercero May 11, 2020
44f791c
Adding a test that checks that the dashboards pages can't be accessed…
eltercero May 11, 2020
0d4490c
Removing missing console.log
eltercero May 11, 2020
23297ec
Format money strings with correct punctuation and currency.
eltercero May 12, 2020
00038de
Removing unused method
eltercero May 12, 2020
3b2217a
Removing unused component
eltercero May 12, 2020
956f355
Wrong class name due to copy paste
eltercero May 12, 2020
8698f73
Locale files changes
eltercero May 12, 2020
d17d69a
Removing unused component
eltercero May 12, 2020
cfbfcb2
Sorting contracts and tenders by date ASC
eltercero May 12, 2020
f836808
Always search for the item based on the id.
eltercero May 12, 2020
1e99e5c
Moving i18n string initialization from created() hook to data().
eltercero May 12, 2020
6bab14b
Destructuring attributes in v-for
eltercero May 12, 2020
53329be
Moving columns configuration to its own file
eltercero May 12, 2020
28f7482
Moving get_remote_data inside /lib
eltercero May 12, 2020
42ad214
Fix navigation bar so it highlights the current tab in details pages …
eltercero May 12, 2020
89d3449
Adding format to tender show as well
eltercero May 12, 2020
f362a3f
Replacing hardcoded routing methods with router-link
eltercero May 13, 2020
8901ed9
Typo fix.
eltercero May 13, 2020
871e16d
Removing d3 since it won't be used for now.
eltercero May 14, 2020
a1957e1
Changing function to arrow function
eltercero May 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Destructuring attributes in v-for
  • Loading branch information
eltercero committed May 13, 2020
commit 6bab14b2dd436687d4c3907f11f71930a0b938e4
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<table class="dashboards-home-main--table">
<thead>
<th
v-for="column in columns"
v-for="{ translation } in columns"
class="dashboards-home-main--th"
>
<div>{{ column.translation }}</div>
<div>{{ translation }}</div>
</th>
</thead>
<transition-group
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<template>
<tr class="dashboards-home-main--tr" @click="navigateTo(item)" >
eltercero marked this conversation as resolved.
Show resolved Hide resolved
<td
v-for="column in columns"
v-for="{ field } in columns"
class="dashboards-home-main--td"
>
<div>{{ formattedItem[column.field] }}</div>
<div>{{ formattedItem[field] }}</div>
</td>
</tr>
</template>
Expand Down