Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None | 0 0
  1. <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
  2. <head>
  3. <title>Swisscom Sharespace</title>
  4.  
  5. <!--[if gte mso 9]><xml>
  6. <mso:CustomDocumentProperties>
  7. <mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
  8. <mso:MasterPageDescription msdt:dt="string">Zeigt ein auf eine Swisscom Sharespace SharePoint-Website abgestimmtes Ergebnis an.</mso:MasterPageDescription>
  9. <mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
  10. <mso:TargetControlType msdt:dt="string">;#SearchResults;#</mso:TargetControlType>
  11. <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
  12. <mso:ManagedPropertyMapping msdt:dt="string">'SharespaceWorkspaceTemplate':'SharespaceWorkspaceTemplate','Title':'Title','Path':'Path','SiteLogo':'SiteLogo','SiteDescription':'SiteDescription','CollapsingStatus':'CollapsingStatus','DocId':'DocId','HitHighlightedProperties':'HitHighlightedProperties','FileExtension':'FileExtension','ViewsLifeTime':'ViewsLifeTime','deeplinks':'deeplinks','importance':'importance','FileType':'FileType'</mso:ManagedPropertyMapping>
  13. </mso:CustomDocumentProperties>
  14. </xml><![endif]-->
  15. </head>
  16. <body>
  17. <div id="Item_Site">
  18. <!--#_
  19. if(!$isNull(ctx.CurrentItem) && !$isNull(ctx.ClientControl)){
  20. var id = ctx.ClientControl.get_nextUniqueId();
  21. var itemId = id + Srch.U.Ids.item;
  22. var hoverId = id + Srch.U.Ids.hover;
  23. var hoverUrl = "~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_SwisscomSharespace_HoverPanel.js";
  24. var deepLinksClassNoEncode = "ms-srch-item-deepLinks";
  25. $setResultItem(itemId, ctx.CurrentItem);
  26. ctx.currentItem_ShowHoverPanelCallback = Srch.U.getShowHoverPanelCallback(itemId, hoverId, hoverUrl);
  27. ctx.currentItem_HideHoverPanelCallback = Srch.U.getHideHoverPanelCallback();
  28. _#-->
  29. <div id="_#= $htmlEncode(itemId) =#_" name="Item" data-displaytemplate="WorkspaceSiteItem" class="ms-srch-item" onmouseover="_#= ctx.currentItem_ShowHoverPanelCallback =#_" onmouseout="_#= ctx.currentItem_HideHoverPanelCallback =#_">
  30.  
  31. <!--#_
  32. if(!$isNull(ctx.CurrentItem.SiteLogo) && !Srch.U.isDefaultSiteLogo(ctx.CurrentItem.SiteLogo)){
  33. ctx.CurrentItem.csr_PathLength = Srch.U.pathTruncationLengthWithPreview;
  34. ctx.CurrentItem.csr_PreviewImage = ctx.CurrentItem.SiteLogo;
  35. ctx.CurrentItem.csr_PreviewImageAltText = Srch.Res.hp_Alt_SiteLogo;
  36. } else {
  37. deepLinksClassNoEncode += " ms-srch-item-deepLinks-noPreview";
  38. }
  39. _#-->
  40. _#=ctx.RenderBody(ctx)=#_
  41. <!--#_
  42. if(!Srch.U.e(ctx.CurrentItem.deeplinks) && !Srch.U.n(ctx.CurrentItem.importance)){
  43. _#-->
  44. <div class="_#= deepLinksClassNoEncode =#_" id="_#= $htmlEncode(id + Srch.U.Ids.deepLinks) =#_">
  45. _#= Srch.U.getDeepLinks(ctx.CurrentItem.deeplinks, ctx.CurrentItem.importance) =#_
  46. </div>
  47. <!--#_
  48. }
  49. _#-->
  50. <div id="_#= $htmlEncode(hoverId) =#_" class="ms-srch-hover-outerContainer"></div>
  51. </div>
  52. <!--#_
  53. }
  54. _#-->
  55. </div>
  56. </body>
  57. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement