Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listing? #2

Open
jacob0719 opened this issue Dec 12, 2013 · 5 comments
Open

Listing? #2

jacob0719 opened this issue Dec 12, 2013 · 5 comments

Comments

@jacob0719
Copy link

Hey,
Just installed the plug-in and I like it! However, when I went to my list page, the URL isn't including the /p/

Just thought I'd let you know.

@e4r7hbug
Copy link

It might be best to close this issue as #3 has the proposed fix.

@patricktokeeffe
Copy link

Frustrating to see this broken, stale version is what's hosted on npmjs. I think it's better than the list_pads EP plugin (or would be if it worked out of the box).

At least for Windows EP installs, the quickest fix is to install the plugin, then open <ep-install-dir>/node_modules/ep_padlist/templates/pads.html and add /p:

  <ul>
    <% pads.forEach(function(pad){ %>
-      <li><a href="/<%= pad.toString() %>"><%= pad.toString() %></a></li>
+      <li><a href="/p/<%= pad.toString() %>"><%= pad.toString() %></a></li>
    <% }) %>
  </ul>

@pht31337
Copy link

@myrdd
Copy link

myrdd commented Jul 24, 2018

My workaround ansible task for the debops.etherpad ansible role:

- name: fix ep_padlist
  lineinfile:
    line: '      <li><a href="/p/<%= pad.toString() %>"><%= pad.toString() %></a></li>'
    regexp: '^      <li><a href="/'
    path: '{{ etherpad_home + "/" + etherpad_repository }}/node_modules/ep_padlist/templates/pads.html'

Does anyone know how unmaintained packages are handled (or „can be handled“) in npm?

@myrdd
Copy link

myrdd commented Aug 27, 2018

Does anyone know how unmaintained packages are handled (or „can be handled“) in npm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants