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

Fix/save attachment #19

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 5 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
2 changes: 1 addition & 1 deletion webapp/src/main/resources/locale/outlook/Outlook.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<pathAddDescription>Create a new folder</pathAddDescription>
<pathOpenDescription>Open in new window</pathOpenDescription>
<savingAttachment>Saving your files...</savingAttachment>
<savedAttachment>Your files were successfully saved</savedAttachment>
<savedAttachment>Your files were successfully saved in</savedAttachment>
Copy link
Contributor

Choose a reason for hiding this comment

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

We already have i18n string for in text - <in>in</in>, is it not used? This text should not be changed and if but not this way to fix it.

Copy link
Author

@NickEngineer NickEngineer Dec 23, 2019

Choose a reason for hiding this comment

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

<in>in</in> isn't used anywhere (about savedAttachment context). That's why the "in" added here.

Copy link
Author

Choose a reason for hiding this comment

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

Fixed

<savedClickToOpen>Click a file in the list below to open it inside the intranet</savedClickToOpen>
<addingNewFolder>Adding new folder</addingNewFolder>
<enterFolderNameAndCreate>Provide a name for this new folder and then click "Add".</enterFolderNameAndCreate>
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/main/webapp/js/outlook.js
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ require(["SHARED/jquery", "SHARED/outlookFabricUI", "SHARED/outlookJqueryUI", "S

var item = Office.context.mailbox.item;
if (item.attachments.length > 0) {
for (i = 0; i < item.attachments.length; i++) {
for (var i = 0; i < item.attachments.length; i++) {
var att = item.attachments[i];
var $li = $("<li class='ms-ListItem is-selectable'><span class='ms-ListItem-primaryText'>"
+ att.name + "</span><span class='ms-ListItem-metaText attachmentSize'>" //
Expand Down
4 changes: 4 additions & 0 deletions webapp/src/main/webapp/skin/outlook.css
Original file line number Diff line number Diff line change
Expand Up @@ -830,3 +830,7 @@ textarea[name='activityTitle'], textarea[name='comment'] {
.compose-Persona {
margin: 10px 15px 10px 0;
}

.currentFolder .pathControls .ms-ListItem-action .ms-Icon {
vertical-align: middle;
}