XSLT Function: BaileyWeb.University.PageLayout.ShowLastUpdated

The XSLT Function named ShowLastUpdated produces a paragraph showing the date that the containing page was last updated.

Files

The following files are supplied with the University Package:

  • ~/App_Data/Xslt/BaileyWeb/University/PageLayout/ShowLastUpdated.cshtml

Parameters

None. OR

There are COUNT parameters:

Parameter: Label: Help: Type: Default: Widget:
NAME LABEL HELP TYPE VALUE  

Function Markup

<f:function name="BaileyWeb.University.Pages.ShowLastUpdated" xmlns:f="http://www.composite.net/ns/function/1.0" />

Sub Functions

None. OR

This function relies upon the following sub functions for data:

  • BaileyWeb.University.NAMESPACE OR

When routed data isn't TYPE.IsItem:

  • BaileyWeb.University.NAMESPACE

When routed data is TYPE.IsItem:

  • BaileyWeb.University.NAMESPACE

Text Strings

This function uses the following localisation resources:

Sample Output

<html xmlns="http://www.w3.org/1999/xhtml">
    <head/>
    <body>
        <p>Updated:  08 November 2016</p>
    </body>
</html>

Updated: 27 February 2022