Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions RobloxServer.Web/PlaceItem.aspx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
<div class="ItemRight">
<div id="PlaceLauncher" runat="server">
<a class="btn-large btn-play" href="#" data-launch-mode="play">Play</a>
<style>[data-can-edit="true"] .btn-studio { display: inline-block !important; }</style>
<a class="btn-medium btn-neutral btn-studio" href="#" data-launch-mode="studio" style="display: none">Edit in Studio</a>
<asp:PlaceHolder ID="HostPanel" runat="server" Visible="false" />
</div>
<div class="PlayInstructions">
Expand Down
1 change: 1 addition & 0 deletions RobloxServer.Web/PlaceItem.aspx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ protected void Page_Load(object sender, EventArgs e)
PlaceLauncher.Attributes["data-login-url"] = ResolveUrl("~/Login.aspx?ReturnUrl=" + Server.UrlEncode(Request.RawUrl));
PlaceLauncher.Attributes["data-logged-in"] = user != null ? "true" : "false";
HostPanel.Visible = PlaceService.CanHost(user, place);
PlaceLauncher.Attributes["data-can-edit"] = PlaceService.CanEdit(user, place) ? "true" : "false";
DownloadLink.HRef = ResolveUrl("~/asset/?id=" + place.Id);
ThumbnailImage.Src = PlaceThumb(place.Id, "420x230");
ThumbnailImage.Alt = place.Name;
Expand Down
Loading