Skip to content
Merged

Dev #2519

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
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using Volo.Abp;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Repositories;
using Volo.Abp.Uow;

namespace Unity.GrantManager.Notifications
{
Expand All @@ -24,6 +25,7 @@ public NotificationsAppService(IDynamicUrlRepository dynamicUrlRepository)
_teamsNotificationService = new TeamsNotificationService();
}

[UnitOfWork]
public async Task<string> InitializeTeamsChannelAsync(string keyName)
{
DynamicUrl? teamsChannel = await _dynamicUrlRepository.FirstOrDefaultAsync(q => q.KeyName == keyName);
Expand All @@ -50,6 +52,7 @@ public async Task NotifyChefsEventToTeamsAsync(string factName, string factValue
await _teamsNotificationService.PostFactsToTeamsAsync(teamsChannel, activityTitle, activitySubtitle);
}

[UnitOfWork]
public async Task PostToTeamsAsync(string activityTitle, string activitySubtitle, List<Fact> facts)
{
string teamsChannel = await InitializeTeamsChannelAsync(TeamsNotificationService.TEAMS_NOTIFICATION);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
</fieldset>
<div id="email-attachments-section" style="display:none">
<abp-row class="m-0 p-0">
<abp-column size="_10" class="px-1">
<abp-column size="_12" class="px-0">
<h6 class="fw-bold pt-3 pb-1 m-0">Attachments</h6>
<abp-table id="EmailAttachmentsTable"
hoverable-rows="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@

#applicationEmailsWidget button {
margin: 2px;
}

#applicationEmailsWidget button:hover {
border: 1px solid var(--bc-colors-blue-primary);
}

Expand Down
Loading