Commit 2001c528 authored by Mathijs den Burger's avatar Mathijs den Burger

HSTCONFIGEDIT-174: remove message "this page design is currently selected"

parent 34285f29
......@@ -41,11 +41,6 @@
<span wicket:id="description">[ Description ]</span>
</td>
</tr>
<tr>
<td>
<a wicket:id="select"><span wicket:id="selectLabel">[ Select ]</span></a>
</td>
</tr>
</table>
</div>
<div class="picker-next">
......
......@@ -182,30 +182,6 @@ public class DescriptionPicker extends Panel {
}));
pickerContainer.add(selector);
AjaxLink select = new AjaxLink("select") {
@Override
public void onClick(AjaxRequestTarget target) {
setDefaultModelObjectByCurrentSelection();
target.add(DescriptionPicker.this);
}
@Override
public boolean isEnabled() {
return isCurrentSelected();
}
};
select.add(new Label("selectLabel", new AbstractReadOnlyModel<String>() {
@Override
public String getObject() {
if (isCurrentSelected()) {
return DescriptionPicker.this.getString("selected");
}
return DescriptionPicker.this.getString("unselected");
}
}));
selector.add(select);
selector.add(new Label("name", new AbstractReadOnlyModel<String>() {
@Override
public String getObject() {
......
selected: This page design is currently selected
unselected: Click to select this page design
picker.name.label: Name:
picker.name.label=Name:
description.empty=The list is empty.
selected: Dieses Seitendesign ist aktuell ausgew\u00E4hlt
unselected: Klicken Sie um das Seitendesign auszuw\u00E4hlen
picker.name.label: Name:
picker.name.label=Name:
selected: Cette conception de page est pr\u00E9sentement s\u00E9lectionn\u00E9e
unselected: Cliquez pour s\u00E9lectionner cette conception de page
picker.name.label: Nom\:
picker.name.label=Nom\:
selected: Dit item is momenteel geselecteerd
unselected: Klik om dit item te selecteren
picker.name.label: Naam:
picker.name.label=Naam:
description.empty=De lijst is leeg.
......@@ -316,11 +316,12 @@ div.hst-editor-form fieldset div.description-picker-empty {
}
.description-picker .picker-data table td {
padding: 8px 8px 4px 8px;
padding: 8px;
}
.description-picker .picker-data table td.description-picker-label {
padding-top: 12px;
padding-top: 13px;
padding-bottom: 12px;
}
.description-picker .picker-data .description-picker-preview img {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment