mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Alwats enable mobile link
This commit is contained in:
parent
09985df5b0
commit
56658f02db
4 changed files with 3 additions and 12 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue