Use SharePoint designer to change the display status bar of the task list

Source: Internet
Author: User
Tags xsl
Sometimes we want to convert text into icons to display the task list more intuitively.

InMossLiThe default task list status displays text:

Now we can useSPDQuickly convert the Status display to the following effect:(Text prompt when the mouse stays):

Steps:
1.UseSPDOpen the task list view to be edited

2.Select right Jian-> "ConvertXSLTData View"

3.Selected"Status"Column, switchCodeView, and add the following code

< TD class = " {$ Idafg5th} " >
  < XSL: Choose >
< XSL: When Test = " @ Status = 'completed' " >
< IMG SRC = " /PIC/KPIDefault-0.gif " ALT = " Completed " />
</ XSL: When >
< XSL: When Test = " @ Status = 'not started' " >
< IMG SRC = " /PIC/KPIDefault-2.gif " ALT = " Not started " />
</ XSL: When >
  </ XSL: Choose >
</ TD >

PS:Here we only list two enumerated values.'Completed','Not started'

4. the last save is complete, simple j

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.