Time Sheet Report AUI message broken

Issue #417 invalid
Oswaldo Hernandez created an issue

On the Time Sheet Report page, the AUI message is broken.

Steps to reproduce:

Generate a time sheet report for a project (Project → Overview → Reports → Time Sheet Report → Next)

Observe the broken AUI message:

Comments (3)

  1. Oswaldo Hernandez Account Deactivated reporter

    From @chrisdarroch

    This needs to follow the AUI guidelines and render [AUI messages|https://developer.atlassian.com/display/AUI/Messages] correctly, either by using the AUI soy template or placing the markup for the icon in the correct location: inside the message's title.

    Here's what they're doing:

    <div class="aui-message info"><span class="aui-icon icon-info"></span>
                            <p class="excel">
                                <a href="...">Excel View<img src="/images/icons/attach/excel.gif" height="16" width="16" border="0" align="absmiddle" alt="Excel View"></a>
                            </p>
    
                                <p>
                                    <b>Description:</b><br>
                                    Report displaying users worked time sheet over specified period.
                                </p>
    
                        </div>
    

    But this is what the markup should be:

    <div class="aui-message info">
        <p class="title">
            <span class="aui-icon icon-info"></span>
            Description:
        </p>
        <p>Report displaying users worked time sheet over specified period.</p>
        <p class="excel">
            <a href="...">Excel View<img src="/images/icons/attach/excel.gif" height="16" width="16" border="0" align="absmiddle" alt="Excel View"></a>
        </p>
    </div>
    
  2. Andriy Zhdanov

    Hi Oswaldo,

    This is out of scope of plugin, this part is rendered by ConfigureReport.jspa or corresponding template, based on atlassian-plugin.xml description element in plugin.

    Thank you.

  3. Log in to comment