Skip to content

Commit

Permalink
Release 4.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bhupeshappfoster authored Nov 21, 2024
1 parent b291a99 commit 56b82c3
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .craftplugin
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"pluginName": "Translations for Craft",
"pluginDescription": "Drive global growth with simplified translation workflows.",
"pluginVersion": "v4.0.1",
"pluginVersion": "v4.0.2",
"pluginAuthorName": "Acclaro",
"pluginVendorName": "Acclaro",
"pluginAuthorUrl": "http://www.acclaro.com/",
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 4.0.2 - 2024-11-21

### Fixed
- Entry title overflowing the tables & new status icon missing. ([AcclaroInc#565](https://github.com/AcclaroInc/pm-craft-translations/issues/565))

## 4.0.1 - 2024-11-12

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ public function getStatusColour()
$statusColour = 'red';
break;
default :
$statusColour = '';
$statusColour = 'disabled';
}

$this->statusColour = $this->statusColour ?? $statusColour;
Expand Down
2 changes: 1 addition & 1 deletion src/models/FileModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function getStatusColor()
case Constants::FILE_STATUS_PUBLISHED:
return 'green';
default:
return '';
return 'disabled';
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/templates/_components/_forms/order-entries-table.twig
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
{% set entryPreviewSettings = order.entryPreviewSettings(element) %}
<div id="{{ entryPreviewSettings['id'] }}">
<div class="elements">
<div class="element flex" title="{{ element.uiLabel ~" - " ~siteObjects[order.sourceSite].name }}">
<div class="element flex flex-nowrap" title="{{ element.uiLabel ~" - " ~siteObjects[order.sourceSite].name }}">
<div class="label" data-id="{{ element.id }}" data-editable="" data-site-id={{ order.sourceSite }} {% if entryPreviewSettings["draftId"] is defined %} data-draft-id="{{ entryPreviewSettings["draftId"] }}" {% endif %}>
<span class="title text-link">{{ element.uiLabel }}</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/templates/_components/_forms/order-files-table.twig
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
{% else %}
<div id="{{ "filePreview-"~ file.id }}">
<div class="elements">
<div class="element flex" title="{{ file.uiLabel ~" - " ~siteObjects[file.targetSite].name }}">
<div class="element flex flex-nowrap" title="{{ file.uiLabel ~" - " ~siteObjects[file.targetSite].name }}">
{% if element.className == constant('acclaro\\translations\\Constants::CLASS_NAVIGATION') %}
{% set node = craft.navigation.nodes().uid(element.uid).one() %}
<div class="label" data-id="{{ file.elementId }}" data-editable="" data-site-id={{ file.targetSite }} {% if file.isComplete or element.isDraft %} data-draft-id={{ file.isComplete ? file.draftId : element.draftId }} {% endif %}>
Expand Down

0 comments on commit 56b82c3

Please sign in to comment.