mirror of https://github.com/abpframework/eventhub
8 changed files with 74 additions and 3 deletions
@ -0,0 +1,26 @@ |
|||
using System; |
|||
using Volo.Abp.Application.Dtos; |
|||
|
|||
namespace EventHub.Organizations |
|||
{ |
|||
public class OrganizationProfileDto : EntityDto<Guid> |
|||
{ |
|||
public string Name { get; set; } |
|||
|
|||
public string DisplayName { get; set; } |
|||
|
|||
public string Description { get; set; } |
|||
|
|||
public string Website { get; set; } |
|||
|
|||
public string TwitterUsername { get; set; } |
|||
|
|||
public string GitHubUsername { get; set; } |
|||
|
|||
public string FacebookUsername { get; set; } |
|||
|
|||
public string InstagramUsername { get; set; } |
|||
|
|||
public string MediumUsername { get; set; } |
|||
} |
|||
} |
|||
@ -1,3 +1,19 @@ |
|||
@page "/organizations/{name}" |
|||
@inject IHtmlLocalizer<EventHubResource> L |
|||
@using EventHub.Localization |
|||
@using Microsoft.AspNetCore.Mvc.Localization |
|||
@model EventHub.Web.Pages.Organizations.OrganizationProfile |
|||
<h1>Organization: @Model.Name</h1> |
|||
<h1>@Model.Organization.DisplayName <small class="text-muted">@Model.Organization.Name</small></h1> |
|||
<img class="img-fluid mb-3" src="https://picsum.photos/seed/@Model.Name/1920/400?blur=8"> |
|||
<p class="lead"> |
|||
@Model.Organization.Description |
|||
</p> |
|||
|
|||
<abp-tabs> |
|||
<abp-tab title="@L["Events"].Value"> |
|||
TODO |
|||
</abp-tab> |
|||
<abp-tab title="@L["Members"].Value"> |
|||
TODO |
|||
</abp-tab> |
|||
</abp-tabs> |
|||
|
|||
Loading…
Reference in new issue