<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
-->
<footer th:if="${#cas.isTrue(#cas.theme('cas.footer.show'))}"
        class="py-3 d-flex justify-content-center align-items-center cas-footer">
  <div class="pb-1 pt-1">
    <span id="copyright" class="me-2 d-inline-block">Copyright © 2010-${year}
      <a href="http://www.apache.org/" target="_blank" rel="noopener noreferrer">The Apache Software Foundation</a>.</strong>
      All rights reserved.
    </span>
  </div>
  <div class="pb-1 pt-1">
    <span id="copyright" th:utext="#{copyright}" class="me-2 d-inline-block">Copyright Date Apereo, Inc</span>
    <span id="poweredBy" class="px-3 d-inline-block">
      <span th:utext="#{poweredBy}">Powered by </span><a href="https://github.com/apereo/cas">Apereo CAS</a>
    </span>
    <code class="version"
          th:if="${#cas.isTrue(#cas.theme('cas.footer.show-version'))}"
          th:text="${T(org.apereo.cas.util.CasVersion).getVersion() + ' ' + T(org.apereo.cas.util.CasVersion).getDateTime()}"></code>
  </div>
</footer>
