Skip to content

Commit

Permalink
Done
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaantek committed Mar 20, 2024
1 parent e3f8295 commit e12fb28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/servers/viewserver.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</head>

<body>
<%- include("../parts/navbar.ejs", { bot, user, member }) %>
<%- include("../parts/navbar.ejs", { bot, user }) %>

<div class="container">
<div style="background-color: transparent" class="jumbotron mt-5">
Expand Down Expand Up @@ -47,7 +47,7 @@
class="btn btn-info pr-3 pl-3 mr-1"><i class="fa-solid fa-globe"></i> Website</a>
<% } %>
<% if (user) { %>
<% if (member && server.owner.includes(user.id) || allowed) { %>
<% if (server.owner.includes(user.id) || allowed) { %>
<a href="/servers/<%= server.id %>/edit" type="button" style="border-radius: 5px;"
class="btn btn-warning pr-3 pl-3 mr-1"><i class="fa-solid fa-pen-to-square"></i> Edit</a>
<% } %>
Expand Down

0 comments on commit e12fb28

Please sign in to comment.