Skip to content

Commit

Permalink
Refs #4569 Tweak to message + display as raw for segment names with e…
Browse files Browse the repository at this point in the history
…ntities to display ok
  • Loading branch information
mattab committed Feb 4, 2014
1 parent db7d1b5 commit 975d2ce
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lang/en.json
Expand Up @@ -2413,7 +2413,7 @@
"AutoArchiveRealTime": "segmented reports are processed in real time",
"AutoArchivePreProcessed": "segmented reports are pre-processed (faster, requires archive.php cron)",
"SegmentNotApplied": "Segment '%s' not applied",
"SegmentNotAppliedExplanation": "You are requesting data for the Custom Segment '%s', the current Piwik configuration prevents the real time processing of this segment. Please ask your Piwik admin to change the setting in the config file (browser_archiving_disabled_enforce) or edit this Segment to be Processed by the cron archive.php script."
"SegmentNotAppliedExplanation": "You are requesting data for the Custom Segment '%s', the current Piwik configuration prevents the real time processing of reports for this segment. Please ask your Piwik admin to change the setting in the config file (%s). You may also edit this Segment and choose '%s'."
},
"Events": {
"Events": "Events",
Expand Down
2 changes: 1 addition & 1 deletion plugins/CustomAlerts
4 changes: 4 additions & 0 deletions plugins/Dashboard/stylesheets/dashboard.less
Expand Up @@ -162,6 +162,10 @@
min-height: 0 !important;
}

.ui-confirm p {
margin-top:10px;

}
.ui-confirm h2 {
text-align: center;
font-weight: bold;
Expand Down
2 changes: 1 addition & 1 deletion plugins/SecurityInfo
5 changes: 3 additions & 2 deletions plugins/SegmentEditor/templates/_segmentSelector.twig
Expand Up @@ -146,8 +146,9 @@
</div>

<div class="ui-confirm" id="pleaseChangeBrowserAchivingDisabledSetting">
<h2>{{ 'SegmentEditor_SegmentNotApplied'|translate(nameOfCurrentSegment) }}</h2>
<p class="description">{{ 'SegmentEditor_SegmentNotAppliedExplanation'|translate(nameOfCurrentSegment) }}</p>
<h2>{{ 'SegmentEditor_SegmentNotApplied'|translate(nameOfCurrentSegment)|raw }}</h2>
{% set segmentSetting %}{{ 'SegmentEditor_AutoArchivePreProcessed'|translate }}{% endset %}
<p class="description">{{ 'SegmentEditor_SegmentNotAppliedExplanation'|translate(nameOfCurrentSegment, 'browser_archiving_disabled_enforce', segmentSetting)|raw }}</p>
<input role="yes" type="button" value="{{ 'General_Ok'|translate }}"/>
</div>

Expand Down
2 changes: 1 addition & 1 deletion plugins/TasksTimetable
2 changes: 1 addition & 1 deletion plugins/TreemapVisualization
2 changes: 1 addition & 1 deletion plugins/VisitorGenerator
2 changes: 1 addition & 1 deletion tests/PHPUnit/UI
Submodule UI updated from ba9eec to ec7b2f

0 comments on commit 975d2ce

Please sign in to comment.