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

/series/{id}: adjust the sizes of the price/currency fields #1195

Closed
php-coder opened this issue Dec 28, 2019 · 0 comments
Closed

/series/{id}: adjust the sizes of the price/currency fields #1195

php-coder opened this issue Dec 28, 2019 · 0 comments

Comments

@php-coder
Copy link
Owner

php-coder commented Dec 28, 2019

At this moment, the currency field is always smaller than the price field:

Снимок экрана 2019-12-28 в 21 34 06

It is reproducible on Firefox/Safari on macOS.

Related code:

<p th:with="price_msg=#{t_price},paidUser=${#authorization.expression('hasAuthority(''ADD_SERIES_PRICE'')')}"
th:attrappend="title=${paidUser ? null : '__#{t_only_for_paid_users}__'}">
<span th:text="#{t_i_bought_for}" th:remove="tag">I bought for</span>
<input id="paid-price"
type="text"
size="5"
placeholder="price"
th:placeholder="${#strings.unCapitalize(price_msg)}"
th:field="*{price}"
th:disabled="${paidUser ? null : 'disabled'}"
/>
<select id="paid-currency"
th:field="*{currency}"
th:disabled="${paidUser ? null : 'disabled'}">
<option value=""></option>
<option value="USD">USD</option>
<option value="EUR">EUR</option>
<option value="RUB">RUB</option>
<option value="CZK">CZK</option>
<option value="BYN">BYN</option>
<option value="UAH">UAH</option>
</select>
</p>

@php-coder php-coder added this to the next milestone Dec 28, 2019
@php-coder php-coder self-assigned this Feb 1, 2021
@php-coder php-coder modified the milestones: next, 0.4.6 Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant