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

GP-8107: Add link to campaign in activity tab #32

Merged
merged 1 commit into from
May 27, 2020

Conversation

pfigel
Copy link
Collaborator

@pfigel pfigel commented Apr 14, 2020

This adds a link to the campaign view from the activity tab, making it consistent with templates/CRM/Fastactivity/Form/View.tpl.

@bjendres
Copy link
Member

@pfigel: This only works if the campaign manager is used, we should cover both cases....

@bjendres bjendres added this to the 1.3 milestone May 27, 2020
@pfigel
Copy link
Collaborator Author

pfigel commented May 27, 2020

@bjendres I think that's covered by:

if ((bool) CRM_Fastactivity_Settings::getValue('tab_col_campaign_title')) {
// Make sure campaign extension is loaded
if (!CRM_Extension_System::singleton()
->getMapper()
->isActiveModule('campaign')) {
$messages[] = new CRM_Utils_Check_Message(
'fastactivity_campaign',
ts('FastActivity uses campaigntree API. Please install the extension "de.systopia.campaign".'),
ts('CampaignTree API Required'),
\Psr\Log\LogLevel::CRITICAL
);
}

@bjendres bjendres merged commit bf2324c into systopia:master May 27, 2020
@bjendres
Copy link
Member

Thanks @pfigel

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

Successfully merging this pull request may close these issues.

3 participants