Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SB-28356 feat: files option in projects #259

Open
wants to merge 3 commits into
base: release-4.8.0
Choose a base branch
from

Conversation

afnantl
Copy link

@afnantl afnantl commented Feb 24, 2022

No description provided.

@@ -98,6 +100,50 @@ export class AttachmentListingPage implements OnInit {
}
}
getAttachments(tab) {
this.attachments = [];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this


async removeImage(task, type, index){
const alert = await this.alertController.create({
message: '<strong>Are you sure you want to delete image?</strong>',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use translate

message: '<strong>Are you sure you want to delete image?</strong>',
buttons: [
{
text: 'Yes',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

translate for all labels

role: 'yes',
handler: () => {
this.attachments = this.attachments.map(obj => {
if (obj === task) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make this as common method and see if we can reuse this method

@@ -129,8 +129,8 @@ html[data-theme="JOYFUL"]{
}
}
button {
background-color: var(--app-primary) !important;
color: var(--app-white) !important;
background-color: var(--app-primary);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check the changes effect somewhere

@@ -209,4 +209,29 @@ sunbird-pdf-player .sunbird-pdf-palyer-container pdf-viewer iframe{
}
.ion-text-none{
text-transform: none;
}

.alert-button-group.sc-ion-alert-md{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check other alerts getting effect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants