src/main/webapp/WEB-INF/jspf/date-with-tooltip.jspf

Thu, 13 May 2021 11:28:50 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 13 May 2021 11:28:50 +0200
changeset 195
9c7aff3cbb14
parent 180
009700915269
permissions
-rw-r--r--

#109 - add RSS feed

156
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2 <%--
180
009700915269 merge resource bundles
Mike Becker <universe@uap-core.de>
parents: 156
diff changeset
3 ~ Copyright 2021 Mike Becker. All rights reserved.
156
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4 ~
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5 ~ Redistribution and use in source and binary forms, with or without
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6 ~ modification, are permitted provided that the following conditions are met:
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
7 ~
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
8 ~ 1. Redistributions of source code must retain the above copyright
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
9 ~ notice, this list of conditions and the following disclaimer.
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
10 ~
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
11 ~ 2. Redistributions in binary form must reproduce the above copyright
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
12 ~ notice, this list of conditions and the following disclaimer in the
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
13 ~ documentation and/or other materials provided with the distribution.
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
14 ~
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
15 ~ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
16 ~ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
17 ~ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
18 ~ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
19 ~ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
20 ~ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
21 ~ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
22 ~ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
23 ~ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
24 ~ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
25 --%>
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
26
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
27 <%--
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
28 dateValue: DateTime
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
29 --%>
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
30
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
31 <span title="<fmt:formatDate value="${dateValue}" type="time"/>">
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
32 <fmt:formatDate value="${dateValue}" type="date"/>
c5d6820d884e fixes #33 - display time tooltip for created/update dates
Mike Becker <universe@uap-core.de>
parents:
diff changeset
33 </span>

mercurial