From c10eeb973f5da322ff125edb6a7748b8af2fb634 Mon Sep 17 00:00:00 2001 From: Mo Bitar Date: Mon, 8 Apr 2019 12:02:09 -0500 Subject: [PATCH] Adds reload button to expired component bar --- app/assets/templates/directives/component-view.html.haml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/templates/directives/component-view.html.haml b/app/assets/templates/directives/component-view.html.haml index 5fe8ecec3..fd10cea56 100644 --- a/app/assets/templates/directives/component-view.html.haml +++ b/app/assets/templates/directives/component-view.html.haml @@ -5,7 +5,7 @@ .sk-label.warning There was an issue loading {{component.name}}. .right .sk-app-bar-item{"ng-click" => "reloadComponent()"} - .sk-label Reload + .sk-label.info Reload .sn-component{"ng-if" => "showNoThemesMessage"} .sk-app-bar.no-edges.no-top-edge @@ -29,6 +29,9 @@ Your Extended subscription expired on {{component.dateToLocalizedString(component.valid_until)}}. Extensions are in a read-only state. .right + .right + .sk-app-bar-item{"ng-click" => "reloadComponent()"} + .sk-label.info Reload .sk-app-bar-item .sk-app-bar-item-column %a.sk-label{"href" => "https://standardnotes.org/help", "target" => "_blank"} Help