Alwats enable mobile link

pull/2242/head
Jamie 7 years ago
parent 09985df5b0
commit 56658f02db

@ -9,7 +9,6 @@ namespace Ombi.Settings.Settings.Models
{
public string ApplicationName { get; set; }
public string ApplicationUrl { get; set; }
public bool Mobile { get; set; }
public string CustomCssLink { get; set; }
public bool EnableCustomDonations { get; set; }
public string CustomDonationUrl { get; set; }

@ -93,7 +93,7 @@
<a [routerLink]="['/usermanagement/updatedetails']">
<i class="fa fa-key"></i>{{ 'NavigationBar.UpdateDetails' | translate }}</a>
</li>
<li *ngIf="customizationSettings?.mobile" [routerLinkActive]="['active']">
<li [routerLinkActive]="['active']">
<a href="#" (click)="openMobileApp($event)">
<i class="fa fa-mobile"></i>{{ 'NavigationBar.OpenMobileApp' | translate }}</a>
</li>

@ -97,7 +97,6 @@ export interface ICustomizationSettings extends ISettings {
applicationName: string;
applicationUrl: string;
logo: string;
mobile: boolean;
customCssLink: string;
enableCustomDonations: boolean;
customDonationUrl: string;

@ -3,12 +3,12 @@
<fieldset *ngIf="settings">
<legend>Customization</legend>
<div class="row">
<!-- <div class="row">
<div class="col-md-2 col-md-push-10">
<span style="vertical-align: top;">Advanced</span>
<p-inputSwitch id="customInputSwitch" [(ngModel)]="advanced"></p-inputSwitch>
</div>
</div>
</div> -->
<div class="col-md-5">
<div class="form-group">
<label for="applicationName" class="control-label">Application Name</label>
@ -26,13 +26,6 @@
</div>
</div>
<div class="form-group" *ngIf="advanced">
<div class="checkbox">
<input type="checkbox" id="enable" [(ngModel)]="settings.mobile" [checked]="settings.mobile">
<label for="enable">Enable Mobile</label>
</div>
</div>
<!-- <div class="form-group">
<div class="checkbox">
<input type="checkbox" id="enable" [(ngModel)]="settings.recentlyAddedPage" [checked]="settings.recentlyAddedPage">

Loading…
Cancel
Save