Skip to content

Commit 31de0b6

Browse files
committed
Merge branch 'release-1.0'
2 parents e24379b + f908d58 commit 31de0b6

20 files changed

+4506
-108
lines changed

LICENSE.txt

Lines changed: 339 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,62 @@ Description
55
-----------
66
This module provides a service for OS2web that allows providers
77
to publish cases and documents directly from their back-end systems.
8+
Additionally this module includes views, panels and settings to display
9+
the cases and documents, and uses PathAuto to generate urls.
10+
11+
Dependencies
12+
-----------
13+
- ctools
14+
- date
15+
- date_popup
16+
- date_views
17+
- entityreference
18+
- features
19+
- list
20+
- node
21+
- number
22+
- options
23+
- os2web_esdh_provider
24+
- page_manager
25+
- panels
26+
- pathauto
27+
- strongarm
28+
- text
29+
- views
30+
- views_content
31+
- views_php
32+
33+
Installation
34+
-----------
35+
This module should reside in the modules directory of the installation,
36+
most commonly profiles/os2web/modules/, but alternativly in sites/all/modules
37+
(This could be for development purposes).
38+
39+
See https://github.com/syddjurs/os2web/wiki for further instructions.
40+
41+
This module can also be installed with drush make in your install profile.
42+
43+
Licence and copyright
44+
---------------------
45+
OS2Web is Copyright (c) 2012 Syddjurs Kommune, Denmark
46+
47+
OS2Web is free software: you can redistribute it and/or modify
48+
it under the terms of the GNU General Public License as published by
49+
the Free Software Foundation, either version 3 of the License, or
50+
(at your option) any later version.
51+
52+
OS2Web is distributed in the hope that it will be useful,
53+
but WITHOUT ANY WARRANTY; without even the implied warranty of
54+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
55+
GNU General Public License for more details.
56+
57+
You should have received a copy of the GNU General Public License
58+
along with this program. If not, see <http://www.gnu.org/licenses/>.
859

960
Additional Info
1061
---------------
11-
This repository should be governed using Git Flow. for more information see
62+
This repository should be governed using Git Flow. for more information see
1263
http://nvie.com/posts/a-successful-git-branching-model/
64+
65+
Note: This module is still dependant on modules in the full OS2Web suite
66+
(https://github.com/OS2web/os2web), as the seperation of those are still WIP.

bump_version.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/sh
2+
3+
PROJECT=os2web_cp_service
4+
VERSION=$1
5+
DATE=`date "+%s"`
6+
7+
MSG="\n;Added by OS2Web `date "+%Y-%m-%d"`\nproject=$PROJECT\nversion=$VERSION\ntimestamp=$DATE\n"
8+
9+
echo $MSG
10+
11+
if [ -z "$VERSION" ]; then
12+
echo "Please specify version number ie. 1.3"
13+
else
14+
for f in `find . -name *.info`; do
15+
echo $MSG >> $f;
16+
done
17+
fi

css/os2web_cp_service.css

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/* os2web_cp_service.css */
2+
3+
.view-os2web-cp-service-cp-case-search .views-exposed-widget{
4+
display: block;
5+
}
6+
.view-os2web-cp-service-cp-case-search .filter-widgets-wrapper{
7+
clear: both;
8+
float: none;
9+
}
10+
.view-os2web-cp-service-cp-case-search .form-submit{
11+
margin: 41px 0 0 10px;
12+
}
13+
.view-os2web-cp-service-cp-case-search .views-table caption{
14+
text-align: left;
15+
}
16+
#edit-search-text,
17+
#edit-field-os2web-cp-service-date-from-value-datepicker-popup-0,
18+
#edit-field-os2web-cp-service-date-to-value-datepicker-popup-0,
19+
#edit-case-id,
20+
#edit-doc-id,
21+
#edit-casetype,
22+
#edit-field-os2web-cp-service-org-unit-value{
23+
width: 100%;
24+
border: 1px solid #ddd;
25+
margin-bottom: 11px;
26+
color: #7A7A7A;
27+
margin: 11px 0 0;
28+
font-size: 20px;
29+
}
30+
31+
#edit-search-text-wrapper{
32+
float: none;
33+
}
34+
#edit-search-text{
35+
width: 100%;
36+
}
37+
#edit-field-os2web-cp-service-date-from-value-datepicker-popup-0,
38+
#edit-field-os2web-cp-service-date-to-value-datepicker-popup-0{
39+
width: 120px;
40+
border: 1px solid #ddd;
41+
margin-bottom: 11px;
42+
}
43+
.view-os2web-cp-service-cp-case-search .ui-datepicker-trigger{
44+
margin-left: 15px;
45+
}
46+
th.views-field-field-os2web-cp-service-date {
47+
white-space: nowrap;
48+
}

images/cal.png

2.28 KB
Loading

js/jquery.qtip-1.0.0-rc3.min.js

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/os2web_cp_service.js

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/**
2+
* @file
3+
* os2web_cp_service.js
4+
*/
5+
6+
jQuery(document).ready(function($) {
7+
$( "a.qtip-this[title]" ).qtip({
8+
style: {
9+
padding: 1,
10+
background: "#FFF",
11+
color: "black",
12+
textAlign: "center",
13+
border: {
14+
width: 1,
15+
radius: 2,
16+
color: "#DDD"
17+
},
18+
tip: "leftMiddle"
19+
},
20+
position: {
21+
corner: {
22+
target: "rightMiddle",
23+
tooltip: "leftMiddle"
24+
},
25+
adjust: {
26+
x : 10
27+
}
28+
}
29+
});
30+
});

os2web_cp_service.context.inc

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?php
2+
/**
3+
* @file
4+
* os2web_cp_service.context.inc
5+
*/
6+
7+
/**
8+
* Implements hook_context_default_contexts().
9+
*/
10+
function os2web_cp_service_context_default_contexts() {
11+
$export = array();
12+
13+
$context = new stdClass();
14+
$context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */
15+
$context->api_version = 3;
16+
$context->name = 'os2web_cp_service_context';
17+
$context->description = 'Contexts to CP panels. Hide right sidebar';
18+
$context->tag = 'OS2Web - Blokke';
19+
$context->conditions = array(
20+
'path' => array(
21+
'values' => array(
22+
'aaben-indsigt' => 'aaben-indsigt',
23+
'sag/*' => 'sag/*',
24+
'dok/*' => 'dok/*',
25+
),
26+
),
27+
);
28+
$context->reactions = array(
29+
'delta' => array(
30+
'delta_template' => 'os2web_frontend_hide_sec_sidebar',
31+
),
32+
);
33+
$context->condition_mode = 0;
34+
35+
// Translatables
36+
// Included for use with string extractors like potx.
37+
t('Contexts to CP panels. Hide right sidebar');
38+
t('OS2Web - Blokke');
39+
$export['os2web_cp_service_context'] = $context;
40+
41+
return $export;
42+
}

0 commit comments

Comments
 (0)