Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
radix-3378923
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
radix-3378923
Commits
74f65fa2
Commit
74f65fa2
authored
10 years ago
by
Capi Etheriel
Committed by
shadcn
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2188883
by barraponto: Proper placeholders for Sass compiling message
parent
beda1c2d
No related branches found
Branches containing commit
Tags
7.x-2.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
template.php
+4
-4
4 additions, 4 deletions
template.php
with
4 additions
and
4 deletions
template.php
+
4
−
4
View file @
74f65fa2
...
...
@@ -46,7 +46,7 @@ function radix_css_alter(&$css) {
*/
function
radix_preprocess_page
(
&
$variables
)
{
global
$base_url
;
// Add Bootstrap JS.
$base
=
parse_url
(
$base_url
);
drupal_add_js
(
$base
[
'scheme'
]
.
'://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js'
,
'external'
);
...
...
@@ -89,9 +89,9 @@ function radix_preprocess_page(&$variables) {
// Display a message if Sass has not been compiled.
$stylesheet_path
=
path_to_theme
()
.
'/assets/stylesheets/screen.css'
;
if
(
!
file_exists
(
$stylesheet_path
))
{
drupal_set_message
(
t
(
'It looks like
!
path has not been created yet. Run
!command
in your theme directory to create it.'
,
array
(
'
!
path'
=>
'<em>'
.
$stylesheet_path
.
'</em>'
,
'
!
command'
=>
'
<code>
compass watch
</code>
'
,
drupal_set_message
(
t
(
'It looks like
%
path has not been created yet. Run
<code>@command</code>
in your theme directory to create it.'
,
array
(
'
%
path'
=>
$stylesheet_path
,
'
@
command'
=>
'compass watch'
,
)),
'error'
);
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment