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

FOUR-19903 Message is not displayed when there is not an instance or … #7655

Merged
merged 3 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
15 changes: 15 additions & 0 deletions resources/js/admin/devlink/components/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@ const urlIsValid = computed(() => {
/>
</template>
</b-table>
<div v-if="devlinks.length === 0" class="div-message d-flex flex-column justify-content-center align-items-center">
<div class="div-message-title">{{ $t("No linked instances of ProcessMaker") }}</div>
<div>{{ $t("Use the button Add Instance") }}</div>
</div>
</div>
</div>
</template>
Expand Down Expand Up @@ -268,4 +272,15 @@ tr:hover {
display: flex;
justify-content: flex-end;
}
.div-message {
position: absolute;
top: 50px;
bottom: 0px;
left: 0px;
right: 0px;
}
.div-message-title {
font-size: larger;
padding-bottom: 5px;
}
</style>
15 changes: 15 additions & 0 deletions resources/js/admin/devlink/components/LocalBundles.vue
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ const confirmPublishNewVersionText = computed(() => {
/>
</template>
</b-table>
<div v-if="bundles.length === 0" class="div-message d-flex flex-column justify-content-center align-items-center">
<div class="div-message-title">{{ $t("No bundles of assets to display") }}</div>
<div>{{ $t("Create a bundle to easily share assets and settings between ProcessMaker instances.") }}</div>
</div>
</div>
</div>
</template>
Expand Down Expand Up @@ -320,4 +324,15 @@ const confirmPublishNewVersionText = computed(() => {
display: flex;
justify-content: flex-end;
}
.div-message {
position: absolute;
top: 50px;
bottom: 0px;
left: 0px;
right: 0px;
}
.div-message-title {
font-size: larger;
padding-bottom: 5px;
}
</style>
6 changes: 5 additions & 1 deletion resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2418,5 +2418,9 @@
"Are you sure you increase the version of <strong>{{ selectedBundleName }}</strong>?": "Are you sure you increase the version of <strong>{{ selectedBundleName }}</strong>?",
"Update Available": "Update Available",
"Reinstall This Bundle": "Reinstall This Bundle",
"Reinstall Bundle": "Reinstall Bundle"
"Reinstall Bundle": "Reinstall Bundle",
"No linked instances of ProcessMaker": "No linked instances of ProcessMaker",
"Use the button Add Instance": "Use the button Add Instance",
"No bundles of assets to display": "No bundles of assets to display",
"Create a bundle to easily share assets and settings between ProcessMaker instances.": "Create a bundle to easily share assets and settings between ProcessMaker instances."
}
Loading