--- /dev/null
+<eg-staff-banner bannerText="About Evergreen" i18n-bannerText>
+</eg-staff-banner>
+
+<div class="row">
+ <div class="col-lg-4">
+ <div class="card">
+ <div class="card-header" i18n>Server Details</div>
+ <ul class="list-group list-group-flush">
+ <li class="list-group-item">
+ <div class="row pt-2">
+ <div class="col-lg-6" i18n>Evergreen Version</div>
+ <div class="col-lg-6">{{version}}</div>
+ </div>
+ </li>
+ <li class="list-group-item">
+ <div class="row pt-2">
+ <div class="col-lg-6" i18n>Hostname</div>
+ <div class="col-lg-6">{{server}}</div>
+ </div>
+ </li>
+ </ul>
+ </div><!-- card -->
+ </div>
+</div>
+<div class="row mt-4">
+ <div class="col-lg-8">
+ <h2 i18n>What is Evergreen?</h2>
+ <p i18n>Evergreen is library automation software that assists libraries
+ in day-to-day operations such as checking out materials, keeping
+ track of users, sharing resources among a group of libraries,
+ acquiring materials, and providing a web-based library catalog for
+ the public.
+ </p>
+ <p i18n>The open-source community developing and supporting Evergreen is
+ marked by a high degree of participation from developers and from
+ the librarians who use the software.
+ </p>
+ <p i18n>
+ More information can be found at
+ <a href="https://evergreen-ils.org">https://evergreen-ils.org</a>.
+ For help in using Evergreen, see our documentation at
+ <a href="http://docs.evergreen-ils.org">http://docs.evergreen-ils.org</a>.
+ </p>
+ <p i18n>
+ Evergreen is Copyright © Georgia Public Library Service -
+ A Unit of the University System of Georgia, and others. The
+ Evergreen software is distributed under the
+ <a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html">
+ GNU General Public License, Version 2.
+ </a>
+ </p>
+ </div>
+</div>
+
+
+
+
--- /dev/null
+import {Component, OnInit} from '@angular/core';
+import {NetService} from '@eg/core/net.service';
+
+@Component({
+ selector: 'eg-about',
+ //styleUrls: ['about.component.css'],
+ templateUrl: 'about.component.html'
+})
+
+export class AboutComponent implements OnInit {
+ server: string;
+ version: string;
+
+ constructor(
+ private net: NetService
+ ) {}
+
+ ngOnInit() {
+ this.server = window.location.hostname;
+ this.net.request(
+ 'open-ils.actor',
+ 'opensrf.open-ils.system.ils_version'
+ ).subscribe(v => this.version = v);
+ }
+}
+
import {StaffComponent} from './staff.component';
import {StaffLoginComponent} from './login.component';
import {StaffSplashComponent} from './splash.component';
+import {AboutComponent} from './about.component';
// Not using 'canActivate' because it's called before all resolvers,
// even the parent resolver, but the resolvers parse the IDL, load settings,
redirectTo: 'splash',
pathMatch: 'full',
}, {
+ path: 'about',
+ component: AboutComponent
+ }, {
path: 'login',
component: StaffLoginComponent
}, {