Skip to content

Commit

Permalink
Update dashboard.ejs (#263)
Browse files Browse the repository at this point in the history
Signed-off-by: Atharv Desai <[email protected]>
  • Loading branch information
Otherwa authored Sep 18, 2024
1 parent 834c712 commit 6270509
Showing 1 changed file with 27 additions and 15 deletions.
42 changes: 27 additions & 15 deletions views/account/user/dashboard.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -130,20 +130,32 @@
<br>
<span class="home-text25">
<span>
<p>
<%= datas[0].source.name %>
</p>
<span>
<%= datas[0].description %>
</span>
<span>
<%= datas[0].publishedAt %>
</span>
<span>
<br>
<a style="color:yellow" href="<%= datas[0].url %>" target="_blank"> More
...</a>
</span>
<% if (data.length> 0) { %>
<p class="home-text24 head">
<%= data[0].title %>
<cite>
<%= data[0].author %>
</cite>
</p>
<br>
<span class="home-text25">
<span>
<p>
<%= data[0].source.name %>
</p>
<span>
<%= data[0].description %>
</span>
<span>
<%= data[0].publishedAt %>
</span>
<span>
<br>
<a style="color:yellow" href="<%= data[0].url %>" target="_blank"> More ...</a>
</span>
</span>
</span>
<% } %>
</span>
</span>
</div>
Expand Down Expand Up @@ -181,4 +193,4 @@

</body>

</html>
</html>

0 comments on commit 6270509

Please sign in to comment.