Skip to content

Commit

Permalink
Fixed warning msg style in HTTP panel of editFilesFragment [ref #4610]
Browse files Browse the repository at this point in the history
  • Loading branch information
mheppler committed Sep 27, 2018
1 parent b7e8153 commit 30886dd
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions src/main/webapp/editFilesFragment.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,17 @@
<div class="ui-tabs-panels">
<div aria-hidden="false" role="tabpanel" class="ui-tabs-panel ui-widget-content ui-corner-bottom" id="datasetForm:tabView:dataFilesTab">
<!-- Create dataset workflow info msg + user guide link -->
<ui:fragment rendered="#{createDataset and settingsWrapper.uploadMethodsCount == 1}">
<div >
<ui:fragment rendered="#{createDataset}">
<p class="help-block">
<h:outputFormat value="#{bundle['dataset.message.uploadFilesSingle.message']}" escape="false">
<h:outputFormat value="#{bundle['dataset.message.uploadFilesSingle.message']}" escape="false"
rendered="#{settingsWrapper.uploadMethodsCount == 1}">
<f:param value="#{systemConfig.guidesBaseUrl}"/>
<f:param value="#{systemConfig.guidesVersion}"/>
</h:outputFormat>

<h:outputText value="#{bundle['dataset.message.uploadFilesMultiple.message']}" escape="false"
rendered="#{settingsWrapper.uploadMethodsCount > 1}"/>
</p>
</div>
</ui:fragment>
<ui:fragment rendered="#{createDataset and settingsWrapper.uploadMethodsCount > 1}">
<div >
<p class="help-block">
<h:outputFormat value="#{bundle['dataset.message.uploadFilesMultiple.message']}" escape="false">
</h:outputFormat>
</p>
</div>
</ui:fragment>
<!-- Upload -->
<div class="panel-group" role="tablist" aria-multiselectable="true"
Expand All @@ -50,18 +44,16 @@
<div id="panelCollapseHTTP" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingHTTP">
<div class="panel-body" jsf:id="httpUploadDisabledDueToExistingRsyncPackage" jsf:rendered="#{EditDatafilesPage.workingVersion.hasPackageFile and !EditDatafilesPage.dataset.released}">
<p class="help-block">
<span class="glyphicon glyphicon-warning-sign text-danger"></span>
<span class="glyphicon glyphicon-warning-sign text-warning"></span>
<h:outputFormat class="text-danger" value=" #{bundle['file.rsyncUpload.httpUploadDisabledDueToRsyncFileExisting']}">
<f:param value="#{settingsWrapper.supportTeamEmail}"/>
</h:outputFormat>
</p>
</div>
<div class="panel-body" jsf:id="httpUploadDisabledDueToExistingRsyncPackagePublished" jsf:rendered="#{EditDatafilesPage.workingVersion.hasPackageFile and EditDatafilesPage.dataset.released}">
<p class="help-block">
<span class="glyphicon glyphicon-warning-sign text-danger"></span>
<h:outputFormat class="text-danger" value=" #{bundle['file.rsyncUpload.httpUploadDisabledDueToRsyncFileExistingAndPublished']}">

</h:outputFormat>
<span class="glyphicon glyphicon-warning-sign text-warning"></span>
<h:outputText class="text-danger" value=" #{bundle['file.rsyncUpload.httpUploadDisabledDueToRsyncFileExistingAndPublished']}"/>
</p>
</div>
<div class="panel-body" jsf:id="contentOfHttpPanel" jsf:rendered="#{!EditDatafilesPage.workingVersion.hasPackageFile}">
Expand Down

0 comments on commit 30886dd

Please sign in to comment.