From 20617f84f6e45d38306475997a5d41a889caaeb5 Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Sat, 6 Jul 2024 12:15:50 +0300 Subject: [PATCH] #27 pmp artifacts --- Makefile | 1 + tests/simple.yml | 4 ++++ xsl/awards.xsl | 11 +++++------ xsl/index.xsl | 26 +++++++++++++++++++++++++- 4 files changed, 35 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 756f5be..20cf007 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,7 @@ target/xsl/%.xsl: xsl/%.xsl | target/xsl target/html/%.html: target/fb/%.fb xsl/*.xsl entry.sh Makefile target/css/main.css $(SAXON) | target/html export INPUT_VERBOSE=yes + export INPUT_OPTIONS=testing=yes export GITHUB_WORKSPACE=. export INPUT_FACTBASE=$< fb=$$(basename $<) diff --git a/tests/simple.yml b/tests/simple.yml index 65a7e8b..8f6cab5 100644 --- a/tests/simple.yml +++ b/tests/simple.yml @@ -20,6 +20,10 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. --- +- + what: pmp + area: hr + days_of_running_balance: 28 - time: 2024-05-18T22:22:22.8492Z award: 15 diff --git a/xsl/awards.xsl b/xsl/awards.xsl index ab9ac6b..ea2be05 100644 --- a/xsl/awards.xsl +++ b/xsl/awards.xsl @@ -22,7 +22,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> - + @@ -30,15 +30,16 @@ SOFTWARE. + - + - +

No awards as of yet.

- + @@ -77,8 +78,6 @@ SOFTWARE.
- - diff --git a/xsl/index.xsl b/xsl/index.xsl index 8326c9c..b163706 100644 --- a/xsl/index.xsl +++ b/xsl/index.xsl @@ -22,13 +22,37 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> - + + + + + + + + + There is no PMP fact for the area ' + + ' + + + + + + There is no parameter ' + + ' in the PMP artifact for the ' + + ' area + + + +