Commit e3366cb2 authored by Tobias Haider's avatar Tobias Haider
Browse files

edit keyboard shortcut for EDIT-EXT, fixes #159

parent 2b3a3e1f
......@@ -2,23 +2,23 @@
/**
* EDIT BUTTON
*/
#ca-edit-ext {
[name=ca-edit-ext] {
display:inline-block;
-moz-box-sizing:border-box;
box-sizing:border-box;
}
#ca-edit-ext + a {
[name=ca-edit-ext] + a {
display:inline-block;
-moz-box-sizing:border-box;
box-sizing:border-box;
margin-top:0;
margin-top:0 !important;
}
.sidebar-wrapper #ca-edit-ext {
.sidebar-wrapper [name=ca-edit-ext] {
width:85%;
}
.sidebar-wrapper #ca-edit-ext + a {
.sidebar-wrapper [name=ca-edit-ext] + a {
width:15%;
}
......@@ -220,9 +220,10 @@ class TweekiTemplate extends BaseTemplate {
$button = [
'href' => $link['href'],
'href_implicit' => false,
'id' => 'ca-edit-ext',
'id' => 'ca-edit',
'icon' => 'pencil',
'text' => wfMessage( 'tweeki-edit-ext', $this->data['namespace'] )->plain()
'text' => wfMessage( 'tweeki-edit-ext', $this->data['namespace'] )->plain(),
'name' => 'ca-edit-ext'
];
$button['items'] = $views;
if(count($this->data['action_urls']) > 0) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment