Updated several labels
This commit is contained in:
parent
5031c3b9c0
commit
008ffbfef6
|
@ -393,7 +393,7 @@ public class CreateDatasetForm extends Composite {
|
|||
listOfSteps = Arrays.asList("Edit Common Metadata", "Select Item Resources",
|
||||
"Edit Item Specific Metadata & Publish");
|
||||
} else {
|
||||
listOfSteps = Arrays.asList("Edit Common Metadata", "Edit Item Specific Metadata & Publish");
|
||||
listOfSteps = Arrays.asList("Edit Common Metadata", "Edit Item Specific Metadata & Publish", "Add Resources");
|
||||
}
|
||||
|
||||
this.wizCreator = new WizardCreator(listOfSteps);
|
||||
|
|
|
@ -393,7 +393,7 @@ public class UpdateDatasetForm extends Composite {
|
|||
|
||||
infoBlock.add(alertPanel);
|
||||
|
||||
List<String> listOfSteps = Arrays.asList("Edit Common Metadata", "Edit Item Specific Metadata & Update");
|
||||
List<String> listOfSteps = Arrays.asList("Edit Common Metadata", "Edit Item Specific Metadata & Update", "Manage Resources");
|
||||
|
||||
this.wizCreator = new WizardCreator(listOfSteps);
|
||||
wizardCreatorPanel.add(wizCreator);
|
||||
|
|
|
@ -247,7 +247,7 @@ public class AddResourceToDataset extends Composite {
|
|||
infoPanel.clear();
|
||||
|
||||
if (result != null) {
|
||||
showAlert("Resource created correctly", null, AlertType.SUCCESS, true, true);
|
||||
showAlert("Resource added correctly", null, AlertType.SUCCESS, true, true);
|
||||
eventBus.fireEvent(new AddResourceEvent(result));
|
||||
eventBus.fireEvent(new ReloadDatasetPageEvent(datasetId));
|
||||
|
||||
|
|
|
@ -15,6 +15,8 @@ import com.google.gwt.event.shared.HandlerManager;
|
|||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
import com.google.gwt.uibinder.client.UiField;
|
||||
import com.google.gwt.user.client.ui.Composite;
|
||||
import com.google.gwt.user.client.ui.HTML;
|
||||
import com.google.gwt.user.client.ui.HTMLPanel;
|
||||
import com.google.gwt.user.client.ui.Widget;
|
||||
|
||||
public class ManageResources extends Composite {
|
||||
|
@ -33,6 +35,12 @@ public class ManageResources extends Composite {
|
|||
@UiField
|
||||
TabPanel tabPanel;
|
||||
|
||||
@UiField
|
||||
HTMLPanel manageResourceTitle;
|
||||
|
||||
@UiField
|
||||
HTML manageResourceSubTitle;
|
||||
|
||||
private AddedResourcesSummary addedResourcesSummary;
|
||||
|
||||
private AddResourceToDataset addResourceForm;
|
||||
|
@ -45,6 +53,8 @@ public class ManageResources extends Composite {
|
|||
initWidget(uiBinder.createAndBindUi(this));
|
||||
this.eventBus = eventBus;
|
||||
|
||||
manageResourceSubTitle.setText(" "+theDatasetBean.getTitle());
|
||||
|
||||
addResourceForm = new AddResourceToDataset(eventBus, theDatasetBean.getId(), theDatasetBean.getTitle(),
|
||||
theDatasetBean.getSelectedOrganization(), datasetUrl);
|
||||
|
||||
|
|
|
@ -6,17 +6,30 @@
|
|||
.important {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.manage_resource_title {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.manage_resource_subtitle {
|
||||
font-size: 16px;
|
||||
color: gray;
|
||||
display: inline;
|
||||
}
|
||||
</ui:style>
|
||||
<g:HTMLPanel>
|
||||
<g:HTML addStyleNames="{style.manage_resource_title}">Manage Resources</g:HTML>
|
||||
<g:HTMLPanel addStyleNames="{style.manage_resource_title}"
|
||||
ui:field="manageResourceTitle">
|
||||
Manage Resources of:
|
||||
<g:HTML ui:field="manageResourceSubTitle"
|
||||
addStyleNames="{style.manage_resource_subtitle}">
|
||||
</g:HTML>
|
||||
</g:HTMLPanel>
|
||||
<b:TabPanel ui:field="tabPanel">
|
||||
<b:Tab ui:field="addResources" heading="Add Resource"></b:Tab>
|
||||
<b:Tab ui:field="addedResources" heading="Added Resources"></b:Tab>
|
||||
<b:Tab ui:field="addedResources" heading="Current Resources"></b:Tab>
|
||||
</b:TabPanel>
|
||||
</g:HTMLPanel>
|
||||
</ui:UiBinder>
|
Loading…
Reference in New Issue