Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dkan_datastore
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
project
dkan_datastore
Commits
df72330e
Commit
df72330e
authored
9 years ago
by
Sol Villar
Committed by
NuCivic Devops
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Refactored code.
parent
098559d6
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dkan_datastore.module
+1
-1
1 addition, 1 deletion
dkan_datastore.module
with
1 addition
and
1 deletion
dkan_datastore.module
+
1
−
1
View file @
df72330e
...
...
@@ -312,7 +312,7 @@ function dkan_datastore_node_view($node, $view_mode, $langcode) {
$type
=
dkan_datastore_node_type
();
if
(
$node
->
type
==
$type
)
{
$status
=
dkan_datastore_status
(
$node
);
if
(
user_access
(
'manage datastore'
)
&&
(
$status
=
dkan_datastore_status
(
$node
))
&&
$view_mode
==
'full'
)
{
if
(
user_access
(
'manage datastore'
)
&&
$status
&&
$view_mode
==
'full'
)
{
if
(
$status
===
DKAN_DATASTORE_FILE_EXISTS
)
{
drupal_set_message
(
t
(
'Your file for this resource is not added to the datastore. Click "Manage Datastore" to import file into the datastore.'
));
}
...
...
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