diff --git a/static/js/directives/ui/app-public-view/app-public-view.component.html b/static/js/directives/ui/app-public-view/app-public-view.component.html index 1375b2d85..753ac6293 100644 --- a/static/js/directives/ui/app-public-view/app-public-view.component.html +++ b/static/js/directives/ui/app-public-view/app-public-view.component.html @@ -21,8 +21,10 @@ - + + + + @@ -85,6 +87,12 @@ + + +
+
+ +
@@ -123,4 +131,4 @@ - \ No newline at end of file + diff --git a/static/js/directives/ui/app-public-view/app-public-view.component.ts b/static/js/directives/ui/app-public-view/app-public-view.component.ts index 6b1f75258..104249a66 100644 --- a/static/js/directives/ui/app-public-view/app-public-view.component.ts +++ b/static/js/directives/ui/app-public-view/app-public-view.component.ts @@ -11,6 +11,7 @@ import { Input, Component, Inject } from 'ng-metadata/core'; export class AppPublicViewComponent { @Input('<') public repository: any; private settingsShown: number = 0; + private logsShown: number = 0; constructor(@Inject('Config') private Config: any) { this.updateDescription = this.updateDescription.bind(this); @@ -24,4 +25,8 @@ export class AppPublicViewComponent { public showSettings(): void { this.settingsShown++; } + + public showLogs(): void { + this.logsShown++; + } }