Code Monkey home page Code Monkey logo

Comments (6)

schisa avatar schisa commented on August 22, 2024

My apologies if this is not the place for this type of issue.

from courtbot-python.

syk1112 avatar syk1112 commented on August 22, 2024

👋 Hi! Thank you for filing an issue. This is the best to place to file it! I tested and can confirm that this is happening. I'll put this on a list of bugs people can work on.

from courtbot-python.

Serhazor avatar Serhazor commented on August 22, 2024

Trying to check what the issue is and code seems to be okay. I did not use django before but would it be correct to assume that it would have to be a new path or httpredirect?

Thanks

from courtbot-python.

jwhitlock avatar jwhitlock commented on August 22, 2024

I believe the issue is in the content template, which is mostly HTML:

<div class="col-sm-6">
<h4>2. What if I still can't find my case number?</h4>
<p>Check with your public defender or search your name online at <a href=“www.oscn.net/dockets/search.aspx”>www.oscn.net/dockets/search.aspx </a> </p> </div> <div class="col-sm-6">
<h4>3. Can other people be reminded of my court date?</h4>
<p>Anyone with your case number will be able to use courtbot to keep track of your court date.</p>
</div>

That should be <a href=“https://www.oscn.net/dockets/search.aspx”>. Without the https://, it treats it as a relative URL.

The formatting could use a little love as well - line up the <div>, make the spacing consistent with other FAQ entries, etc.

from courtbot-python.

Serhazor avatar Serhazor commented on August 22, 2024

Created a pull request, please check.
Thanks.

from courtbot-python.

Serhazor avatar Serhazor commented on August 22, 2024

I believe the issue is in the content template, which is mostly HTML:

<div class="col-sm-6">
<h4>2. What if I still can't find my case number?</h4>
<p>Check with your public defender or search your name online at <a href=“www.oscn.net/dockets/search.aspx”>www.oscn.net/dockets/search.aspx </a> </p> </div> <div class="col-sm-6">
<h4>3. Can other people be reminded of my court date?</h4>
<p>Anyone with your case number will be able to use courtbot to keep track of your court date.</p>
</div>

That should be <a href=“https://www.oscn.net/dockets/search.aspx”>. Without the https://, it treats it as a relative URL.

The formatting could use a little love as well - line up the <div>, make the spacing consistent with other FAQ entries, etc.

you were right.... I've tested with "http://" instead of "https://" before and it did not work, but now it works. Will create another PR.

from courtbot-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.