Skip to content

Commit

Permalink
p3x-robot sunday release 2018-5-16 21:02:15
Browse files Browse the repository at this point in the history
  • Loading branch information
p3x-robot committed May 16, 2018
1 parent 225f67b commit 1c3c1f0
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ UrlToolkit {

---

[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.1.5-642
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.1.8-643

[![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@



# 🤖 P3X Gitlist v2.1.5-642
# 🤖 P3X Gitlist v2.1.8-643

This is an open-source project. Star this repository if you like it, or even donate! Thank you so much! :)

Expand Down Expand Up @@ -149,7 +149,7 @@ npm run watch

---

[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.1.5-642
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.1.8-643

[![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact)

Expand Down
2 changes: 1 addition & 1 deletion artifacts/php-7.2-ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sudo apt upgrade -y

---

[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.1.5-642
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.1.8-643

[![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact)

Expand Down
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ require('codemirror/mode/yaml/yaml');

---

[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.1.5-642
[**P3X-GITLIST**](https://pages.corifeus.com/gitlist) Build v2.1.8-643

[![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software) [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "p3x-gitlist",
"version": "2.1.5-642",
"version": "2.1.8-643",
"corifeus": {
"postfix": "",
"prefix": "p3x-",
Expand Down
7 changes: 7 additions & 0 deletions public/js/angular/controller/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ This code is ${size} KB. `
setScroll()
}

if (location.search.includes('edit=1')) {
setTimeout(() => {
buttonEdit.click();
}, 500)
}

}

if (size > maxSize && currentSizing === 'full') {
Expand Down Expand Up @@ -160,6 +166,7 @@ To see the parsed code, click the <strong>Parse code</strong> button.
createCodeMirror();
}
}

})

global.gitlist.ng.controller('file', function( $scope, $http ) {
Expand Down
6 changes: 5 additions & 1 deletion twig/file.twig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</div>

{% if (fileType != 'image' and fileType != 'markdown') or (enforceCodemirror) %}
<div class="btn-group">
<div class="btn-group">
<button id="p3x-gitlist-file-button-edit" class="btn btn-sm btn-primary">
<span class="fa fa-edit"></span> Edit
</button>
Expand All @@ -30,6 +30,10 @@
<span class="fa fa-close"></span> Cancel
</button>
</div>
{% elseif fileType == 'markdown' %}
<a href="{{ path('blob', {repo: repo, commitishPath: branch ~ '/' ~ file}) }}?codemirror=1&edit=1" class="btn btn-sm btn-primary">
<span class="fa fa-edit"></span> Edit
</a>
{% endif %}

</div>
Expand Down

0 comments on commit 1c3c1f0

Please sign in to comment.