Skip to content

Commit

Permalink
Merge pull request #4276 from IQSS/4250-ingest-failed
Browse files Browse the repository at this point in the history
make it clear that file upload is complete #4250
  • Loading branch information
kcondon authored Nov 20, 2017
2 parents 3013c0d + dcfcbaf commit 0918fae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/main/java/Bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,8 @@ file.spss-savEncoding.current=Current Selection:
file.spss-porExtraLabels=Variable Labels
file.spss-porExtraLabels.title=Upload an additional text file with extra variable labels.
file.spss-porExtraLabels.selectToAddBtn=Select File to Add
file.ingestFailed=Tabular Data Ingest Failed
file.ingestFailed.header=Upload Completed with Errors
file.ingestFailed.message=Tabular data ingest failed.
file.explore.twoRavens=TwoRavens
file.map=Map
file.mapData=Map Data
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/file-download-button-fragment.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<ui:fragment rendered="#{fileMetadata.dataFile.ingestProblem and canUpdateDataset}">
<!-- Ingest Problem - this is the infamous "red triangle" error. As of 4.2, we only want to show it to the owner of the dataset: -->
<span class="ingest-warning" data-toggle="popover" data-container="body" data-trigger="hover" data-placement="left" data-html="true" data-title="&lt;span class='text-danger h5'&gt;#{bundle['file.ingestFailed']}&lt;/span&gt;" data-content="&lt;span class='text-danger'&gt;#{fileMetadata.dataFile.ingestReportMessage}&lt;/span&gt;">
<span class="ingest-warning" data-toggle="popover" data-container="body" data-trigger="hover" data-placement="left" data-html="true" data-title="&lt;span class='text-danger h5'&gt;#{bundle['file.ingestFailed.header']}&lt;/span&gt;" data-content="&lt;span class='text-danger'&gt;#{bundle['file.ingestFailed.message']} #{fileMetadata.dataFile.ingestReportMessage}&lt;/span&gt;">
<span class="glyphicon glyphicon-warning-sign text-danger"/>
</span>
</ui:fragment>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/resources/css/structure.css
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ th.col-file-action.text-right {text-align: right;}
form.btn-form {display:inline-block;}
.button-block button, .button-block a.btn, .button-block input.btn, .button-block div.btn-group, .button-block span.btn.ui-state-disabled, .button-block .button-container {margin-right:1em;}

.button-block span.ingest-warning {margin-right:.5em;}
td.col-file-action span.ingest-warning, .button-block span.ingest-warning {margin-left:.5em;}

.btn.btn-default.btn-access {background-color: #fff;background-image:none;}
.btn.btn-default.btn-access:focus, .btn.btn-default.btn-access:hover,.btn.btn-default.btn-access:active {background-color: #e6e6e6;background-image:none;}
Expand Down

0 comments on commit 0918fae

Please sign in to comment.