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

Sardegnait #2

Merged
merged 4 commits into from
Oct 2, 2017
Merged
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
2 changes: 1 addition & 1 deletion modules/custom/bandi/src/Controller/PdfController.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function view(EntityInterface $node, $view_mode = 'pdf', $langcode = NULL
$mpdf->SetHTMLFooter('<div class="footer">www.sardegnaimpresa.eu</div>');

$mpdf->WriteHTML($output);
$content = $mpdf->Output($this->title($node), Destination::INLINE);
$content = $mpdf->Output($this->title($node) . '.pdf', Destination::DOWNLOAD);

$headers = [
'Content-Type: application/pdf',
Expand Down
3 changes: 3 additions & 0 deletions sites/default/config/user.role.capo_redattore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ permissions:
- 'create url aliases'
- 'create video content'
- 'delete all revisions'
- 'delete any faq content'
- 'delete any news content'
- 'delete any page content'
- 'delete any procedimento content'
Expand All @@ -37,6 +38,7 @@ permissions:
- 'delete faq revisions'
- 'delete glossary revisions'
- 'delete news revisions'
- 'delete own faq content'
- 'delete own page content'
- 'delete page revisions'
- 'delete procedimento revisions'
Expand All @@ -54,6 +56,7 @@ permissions:
- 'edit own procedimento content'
- 'override bando revision log entry'
- 'override custom_content revision log entry'
- 'override faq published option'
- 'override faq revision log entry'
- 'override glossary revision log entry'
- 'override homepage revision log entry'
Expand Down
3 changes: 3 additions & 0 deletions sites/default/config/user.role.redattore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ permissions:
- 'create page content'
- 'create procedimento content'
- 'create video content'
- 'delete any faq content'
- 'delete any page content'
- 'delete own faq content'
- 'edit any bando content'
- 'edit any custom_content content'
- 'edit any faq content'
Expand All @@ -44,6 +46,7 @@ permissions:
- 'edit own procedimento content'
- 'override bando revision log entry'
- 'override custom_content revision log entry'
- 'override faq published option'
- 'override faq revision log entry'
- 'override glossary revision log entry'
- 'override homepage revision log entry'
Expand Down
2 changes: 1 addition & 1 deletion themes/si8/js/si8-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ if (jQuery('#block-navigazioneprincipale>ul>li.expanded').length > 0) {

if (jQuery('aside #block-elencoargomenti').length > 0 ||
jQuery('aside #block-inevidenza-menu').length > 0 ||
jQuery('section.block-facets').length > 0
jQuery('aside section.block-facets').length > 0
) {
jQuery(document).ready(function (){
jQuery('#secondary-menu-btn').removeClass('invisibile');
Expand Down