Skip to content

Commit

Permalink
fix: add blog URL preview link to CMS sidebar component
Browse files Browse the repository at this point in the history
  • Loading branch information
7underlines committed Dec 31, 2024
1 parent bc12642 commit 85caf72
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG_de-DE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 4.1.2
- Blog URL Vorschau-Link zu CMS sidebar hinzgefügt [14](https://github.com/Werkstattl/OpenBlogware/issues/14)

# 4.1.1
- Kategorie-ID-Klassen bei Listings hinzugefügt [10](https://github.com/Werkstattl/OpenBlogware/issues/10)

Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG_en-GB.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 4.1.2
- Added blog URL preview link to CMS sidebar component [14](https://github.com/Werkstattl/OpenBlogware/issues/14)

# 4.1.1
- Added category id classes to blog listings [10](https://github.com/Werkstattl/OpenBlogware/issues/10)

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "werkstattl/openblogware",
"description": "OpenBlogware: A Blog Module for Shopware 6.",
"version": "4.1.1",
"version": "4.1.2",
"type": "shopware-platform-plugin",
"keywords": ["blog", "news"],
"license":"MIT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,16 @@
:placeholder="$tc('werkl-blog.detail.slugPlaceholder')"
></sw-text-field>
{% endblock %}

<div class="sw-field">
<span class="sw-field__label">URL</span>
<a
:href="`/blog/${blog.slug}`"
target="_blank"
class="werkl-blog-preview"
>
/blog/{{blog.slug}}
</a>
</div>
{% block werkl_blog_cms_sidebar_page_basic_information_teaser_field %}
<sw-textarea-field
type="textarea"
Expand Down

Large diffs are not rendered by default.

0 comments on commit 85caf72

Please sign in to comment.