Cleaning up of artefacts in the export UI.

--HG--
branch : dev
This commit is contained in:
Suha Can
2011-03-18 17:19:00 -07:00
parent 91b6ee886e
commit b58bfcac1f
3 changed files with 1 additions and 9 deletions

View File

@@ -9,6 +9,5 @@
public enum VersionHistoryOptions {
Published,
Draft,
AllVersions
}
}

View File

@@ -165,9 +165,6 @@ namespace Orchard.ImportExport.Services {
if (versionHistoryOptions.HasFlag(VersionHistoryOptions.Draft)) {
return VersionOptions.Draft;
}
if (versionHistoryOptions.HasFlag(VersionHistoryOptions.AllVersions)) {
return VersionOptions.AllVersions;
}
return VersionOptions.Published;
}

View File

@@ -37,11 +37,7 @@
<div>
@Html.RadioButtonFor(m => m.DataImportChoice, "Draft", new { id = "Draft" })
<label for="@Html.FieldIdFor(m => m.DataImportChoice)" class="forcheckbox">@T("Only Drafts")</label>
</div>
<div>
@Html.RadioButtonFor(m => m.DataImportChoice, "AllVersions", new { id = "AllVersions" })
<label for="@Html.FieldIdFor(m => m.DataImportChoice)" class="forcheckbox">@T("All Versions")</label>
</div><br />
</div><br />
<div>
@Html.EditorFor(m => m.SiteSettings)
<label class="forcheckbox" for="@Html.FieldIdFor( m => m.SiteSettings)">@T("Site Settings")</label><br />