<atlassian-plugin name='User Format' key='jira.user.format' i18n-name-key="user.format.plugin.name">
    <plugin-info>
        <description key="user.format.plugin.desc">This plugin renders a user in JIRA.</description>
        <vendor name="Atlassian Pty Ltd" url="http://www.atlassian.com"/>
        <application-version min="4.0" max="4.0"/>
        <version>1.0</version>
    </plugin-info>

    <user-format key="profile-link-user-format" i18n-name-key="user.format.plugin.profile.link.name" name="Profile Link User Format"
            class="com.atlassian.jira.plugin.profile.ProfileLinkUserFormat" system="true">
        <description key="user.format.plugin.profile.link.desc">Simple link to a user's profile page displaying the user's full name.</description>
        <type i18n-name-key="user.format.type.profile.link">profileLink</type>
        <resource type="velocity" name="view" location="templates/plugins/userformat/profileLink.vm"/>
    </user-format>

    <user-format key="full-name-user-format" i18n-name-key="user.format.plugin.full.name" name="Full Name User Format"
            class="com.atlassian.jira.plugin.profile.FullNameUserFormat" system="true">
        <description key="user.format.plugin.full.name.desc">Safely displays the user's full name.</description>
        <type i18n-name-key="user.format.type.full.name">fullName</type>
    </user-format>

    <user-format key="profile-link-searcher-user-format" i18n-name-key="user.format.searcher.plugin.profile.link.name" name="Searcher Profile Link User Format"
            class="com.atlassian.jira.plugin.profile.ProfileLinkUserFormat" system="true">
        <description key="user.format.searcher.plugin.profile.link.desc">Simple link to a user's profile page displaying the user's full name from the issue navigator.</description>
        <type i18n-name-key="user.format.type.profile.link.searcher">profileLinkSearcher</type>
        <resource type="velocity" name="view" location="templates/plugins/userformat/searcher.vm"/>
    </user-format>
   
    <!-- this is used for displaying profile link in documents (word, excel etc).  Same as the normal profile link at the moment,
        but it will probably change in the future -->
    <user-format key="profile-link-external-user-format" i18n-name-key="user.format.plugin.profile.link.external.name" name="External Profile Link User Format"
            class="com.atlassian.jira.plugin.profile.ProfileLinkUserFormat" system="true">
        <description key="user.format.plugin.profile.link.external.desc">Simple link to a user's profile used in emails, word documents, excel downloads etc.</description>
        <type i18n-name-key="user.format.type.profile.link.external">profileLinkExternal</type>
        <resource type="velocity" name="view" location="templates/plugins/userformat/profileLink.vm"/>
    </user-format>

    <!-- Used for action headers (comments, worklogs...) -->
    <user-format key="profile-link-action-header-user-format" i18n-name-key="user.format.plugin.profile.link.action.header.name" name="Action Header Profile Link User Format"
            class="com.atlassian.jira.plugin.profile.ProfileLinkUserFormat" system="true">
        <description key="user.format.plugin.profile.link.action.header.desc">Simple link to a user's profile in issue action headers such as comments.</description>
        <type i18n-name-key="user.format.type.profile.link.action.header">profileLinkActionHeader</type>
        <resource type="velocity" name="view" location="templates/plugins/userformat/profileLink.vm"/>
    </user-format>

    <user-format key="full-profile-user-format" i18n-name-key="user.format.plugin.full.profile.name" name="Full Profile User Format"
            class="com.atlassian.jira.plugin.profile.FullProfileUserFormat" system="true">
        <description key="user.format.plugin.full.profile.desc">Full user description including user operation links and report links.</description>
        <type i18n-name-key="user.format.type.full.profile">fullProfile</type>
        <resource type="velocity" name="view" location="templates/plugins/userformat/fullProfile.vm"/>
    </user-format>

</atlassian-plugin>
