Skip to content

Commit

Permalink
IBX-5699: "Create company" form shouldnt be available if there are no…
Browse files Browse the repository at this point in the history
… customer groups (#781)
  • Loading branch information
GrabowskiM authored May 11, 2023
1 parent a528a90 commit 75caa4f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/bundle/Resources/public/scss/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@
margin-bottom: calculateRem(16px);
}

&__empty-table-extra-actions {
.ibexa-icon {
transform: rotate(180deg);
margin-right: calculateRem(8px);
}
}

&__header-cell {
.table & {
font-size: $ibexa-text-font-size-small;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<div class="ibexa-table__empty-table-extra-actions">
{% block extra_action_link %}
<a href="{{ url }}" class="ibexa-table__empty-table-extra-actions-link">
{% block extra_action_content %}
<svg class="ibexa-icon ibexa-icon--small-medium">
<use xlink:href="{{ ibexa_icon_path('back') }}"></use>
</svg>
<span class="ibexa-table__empty-table-extra-actions-label">{{ label }}</span>
{% endblock %}
</a>
{% endblock %}
</div>

0 comments on commit 75caa4f

Please sign in to comment.